Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PD_Examples.PD_linear_effect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 72.19 kB / 9.877 MB, free: 0.8125 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001581/0.002664, allocations: 439.8 kB / 10.31 MB, free: 392 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 157.2 kB / 11.2 MB, free: 2.977 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001458/0.002597, allocations: 463.6 kB / 11.65 MB, free: 2.52 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9754/0.9754, allocations: 177.1 MB / 189.5 MB, free: 3.773 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1796/1.155, allocations: 53.67 MB / 243.2 MB, free: 2.367 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 0.7991/0.7991, allocations: 291.1 MB / 0.5225 GB, free: 103.3 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02356/0.8227, allocations: 21.04 MB / 0.543 GB, free: 82.34 MB / 410.7 MB " [Timeout remaining time 179] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Pharmacolibrary.Examples.PD_Examples.PD_linear_effect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PD_Examples.PD_linear_effect") translateModel(Pharmacolibrary.Examples.PD_Examples.PD_linear_effect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PD_Examples.PD_linear_effect") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.5443 GB, free: 81.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.597e-05/1.756e-05, allocations: 6.25 kB / 0.5443 GB, free: 81.06 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PD_Examples.PD_linear_effect): time 0.0018/0.001817, allocations: 2.163 MB / 0.5464 GB, free: 78.89 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005832/0.0024, allocations: 0.5515 MB / 0.547 GB, free: 78.34 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.606e-05/0.002456, allocations: 0 / 0.547 GB, free: 78.34 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.884e-05/0.002495, allocations: 27.78 kB / 0.547 GB, free: 78.31 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.945e-05/0.002595, allocations: 47.56 kB / 0.547 GB, free: 78.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.38e-05/0.002689, allocations: 51.81 kB / 0.5471 GB, free: 78.21 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.002832, allocations: 199.1 kB / 0.5473 GB, free: 78.02 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.09e-05/0.002923, allocations: 30.62 kB / 0.5473 GB, free: 77.99 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.003079, allocations: 127.8 kB / 0.5474 GB, free: 77.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.189e-05/0.003161, allocations: 55.88 kB / 0.5475 GB, free: 77.81 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.003187, allocations: 19.94 kB / 0.5475 GB, free: 77.79 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.013e-05/0.003207, allocations: 16 kB / 0.5475 GB, free: 77.77 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.303e-05/0.00323, allocations: 23.94 kB / 0.5475 GB, free: 77.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.605e-05/0.003276, allocations: 51.86 kB / 0.5476 GB, free: 77.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.003403, allocations: 103.6 kB / 0.5477 GB, free: 77.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.313e-05/0.003416, allocations: 0 / 0.5477 GB, free: 77.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.003417, allocations: 0 / 0.5477 GB, free: 77.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.003427, allocations: 0 / 0.5477 GB, free: 77.6 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0004658/0.003893, allocations: 445.2 kB / 0.5481 GB, free: 77.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.003922, allocations: 15.84 kB / 0.5481 GB, free: 77.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.739e-05/0.00397, allocations: 28.11 kB / 0.5481 GB, free: 77.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.004089, allocations: 138.1 kB / 0.5483 GB, free: 76.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.004107, allocations: 12.38 kB / 0.5483 GB, free: 76.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.004129, allocations: 12.38 kB / 0.5483 GB, free: 76.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.004271, allocations: 138.6 kB / 0.5484 GB, free: 76.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.004282, allocations: 7.891 kB / 0.5484 GB, free: 76.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.004293, allocations: 11.98 kB / 0.5484 GB, free: 76.74 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.004298, allocations: 0 / 0.5484 GB, free: 76.74 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.823e-05/0.004366, allocations: 73.59 kB / 0.5485 GB, free: 76.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003289/0.004695, allocations: 303.2 kB / 0.5488 GB, free: 76.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.264e-05/0.004788, allocations: 96.11 kB / 0.5489 GB, free: 76.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.017e-05/0.004818, allocations: 58.55 kB / 0.549 GB, free: 76.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.707e-06/0.004826, allocations: 4 kB / 0.549 GB, free: 76.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001274/0.004954, allocations: 184.5 kB / 0.5491 GB, free: 75.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 1.723e-06/0.004956, allocations: 4 kB / 0.5491 GB, free: 75.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004896/0.005445, allocations: 0.4952 MB / 0.5496 GB, free: 75.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.181e-05/0.005467, allocations: 136.5 kB / 0.5497 GB, free: 75.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.118e-05/0.005528, allocations: 151.8 kB / 0.5499 GB, free: 75.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.00554, allocations: 29.7 kB / 0.5499 GB, free: 75.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.597e-05/0.005566, allocations: 112.5 kB / 0.55 GB, free: 74.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.005592, allocations: 63.5 kB / 0.5501 GB, free: 74.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.005635, allocations: 45.69 kB / 0.5501 GB, free: 74.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.946e-05/0.005664, allocations: 334.7 kB / 0.5505 GB, free: 74.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.365e-05/0.005708, allocations: 88.72 kB / 0.5505 GB, free: 74.37 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.57e-05/0.005763, allocations: 174.1 kB / 0.5507 GB, free: 74.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.571e-05/0.005859, allocations: 206.9 kB / 0.5509 GB, free: 73.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.005861, allocations: 0 / 0.5509 GB, free: 73.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001354/0.005996, allocations: 251.3 kB / 0.5511 GB, free: 73.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.006023, allocations: 59.41 kB / 0.5512 GB, free: 73.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.006027, allocations: 4.156 kB / 0.5512 GB, free: 73.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.006036, allocations: 4 kB / 0.5512 GB, free: 73.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.006185, allocations: 63.89 kB / 0.5513 GB, free: 73.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.006192, allocations: 4 kB / 0.5513 GB, free: 73.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.08e-05/0.006262, allocations: 15.94 kB / 0.5513 GB, free: 73.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/0.006272, allocations: 7.984 kB / 0.5513 GB, free: 73.48 MB / 410.7 MB Warning: Assuming fixed start value for the following 2 variables: singleDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real linearEffect.Ce:VARIABLE(min = -1e-9 unit = \"kg/m3\" fixed = true ) \"effect site conc\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (ntcomp.Cmin,$PRE.ntcomp.Cmin,ntcomp.Cmax,$PRE.ntcomp.Cmax,ntcomp.rising,$PRE.ntcomp.rising,singleDose.pulse.count,$PRE.singleDose.pulse.count,singleDose.pulse.T_start,$PRE.singleDose.pulse.T_start,$whenCondition2,$whenCondition1,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.192e-05/0.006364, allocations: 170.8 kB / 0.5515 GB, free: 73.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.766e-05/0.006382, allocations: 15.98 kB / 0.5515 GB, free: 73.28 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.194e-05/0.006404, allocations: 21.06 kB / 0.5515 GB, free: 73.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.006407, allocations: 0 / 0.5515 GB, free: 73.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.006408, allocations: 0 / 0.5515 GB, free: 73.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.353e-05/0.006422, allocations: 15.84 kB / 0.5515 GB, free: 73.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.006431, allocations: 7.984 kB / 0.5515 GB, free: 73.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.006451, allocations: 8 kB / 0.5515 GB, free: 73.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.597e-05/0.006497, allocations: 15.98 kB / 0.5515 GB, free: 73.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.006535, allocations: 19.95 kB / 0.5516 GB, free: 73.2 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001711/0.006706, allocations: 260.2 kB / 0.5518 GB, free: 72.92 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00018/0.006886, allocations: 416 kB / 0.5522 GB, free: 72.48 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.06e-05/0.006937, allocations: 82.59 kB / 0.5523 GB, free: 72.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.522e-05/0.006962, allocations: 34.66 kB / 0.5523 GB, free: 72.36 MB / 410.7 MB Notification: Performance of Backend: time 2.4e-07/0.006962, allocations: 4 kB / 0.5523 GB, free: 72.35 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002487/0.007211, allocations: 316.4 kB / 0.5526 GB, free: 72 MB / 410.7 MB Notification: Performance of SimCode: time 0.004268/0.01148, allocations: 1.001 MB / 0.5536 GB, free: 70.93 MB / 410.7 MB Notification: Performance of Templates: time 0.0037/0.01518, allocations: 2.898 MB / 0.5564 GB, free: 68.11 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PD_Examples.PD_linear_effect.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PD_Examples.PD_linear_effect.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PD_Examples.PD_linear_effect.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PD_Examples.PD_linear_effect.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PD_Examples.PD_linear_effect.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PD_Examples.PD_linear_effect -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Examples.PD_Examples.PD_linear_effect.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.391197412274778]