Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel.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.001285/0.001285, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001903/0.003189, allocations: 435.8 kB / 10.33 MB, free: 368 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.001394/0.001394, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001734/0.003128, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.003/1.003, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1289/1.132, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.7765/0.7765, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04354/0.8201, allocations: 21.04 MB / 0.5431 GB, free: 31.96 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.PKOneCompartmentSimplestModel,tolerance=1e-09,outputFormat="empty",numberOfIntervals=600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel") translateModel(Pharmacolibrary.Examples.PKOneCompartmentSimplestModel,tolerance=1e-09,outputFormat="empty",numberOfIntervals=600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 0.5444 GB, free: 30.68 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.73e-05, allocations: 6.25 kB / 0.5444 GB, free: 30.67 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKOneCompartmentSimplestModel): time 0.002304/0.002331, allocations: 1.815 MB / 0.5462 GB, free: 28.85 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001984/0.002529, allocations: 99.67 kB / 0.5463 GB, free: 28.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.78e-05/0.002587, allocations: 4 kB / 0.5463 GB, free: 28.75 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.988e-05/0.002667, allocations: 15.8 kB / 0.5463 GB, free: 28.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.031e-05/0.002737, allocations: 19.84 kB / 0.5463 GB, free: 28.71 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001052/0.002843, allocations: 31.83 kB / 0.5463 GB, free: 28.68 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.003014, allocations: 95.48 kB / 0.5464 GB, free: 28.59 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.003125, allocations: 12.17 kB / 0.5465 GB, free: 28.57 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.824e-05/0.003223, allocations: 51.89 kB / 0.5465 GB, free: 28.52 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.003324, allocations: 35.89 kB / 0.5465 GB, free: 28.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.659e-05/0.003351, allocations: 4 kB / 0.5465 GB, free: 28.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.648e-05/0.003367, allocations: 8 kB / 0.5465 GB, free: 28.47 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.457e-05/0.003392, allocations: 8 kB / 0.5466 GB, free: 28.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.941e-05/0.003431, allocations: 23.94 kB / 0.5466 GB, free: 28.44 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.003568, allocations: 43.86 kB / 0.5466 GB, free: 28.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.042e-05/0.003588, allocations: 4 kB / 0.5466 GB, free: 28.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.003589, allocations: 0 / 0.5466 GB, free: 28.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.899e-05/0.003608, allocations: 0 / 0.5466 GB, free: 28.39 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004747/0.004083, allocations: 312.5 kB / 0.5469 GB, free: 28.06 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.004123, allocations: 15.89 kB / 0.5469 GB, free: 28.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.553e-05/0.004169, allocations: 12.94 kB / 0.5469 GB, free: 28.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.004304, allocations: 117.7 kB / 0.5471 GB, free: 27.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.004318, allocations: 4.375 kB / 0.5471 GB, free: 27.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.004341, allocations: 12.33 kB / 0.5471 GB, free: 27.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.004482, allocations: 104.6 kB / 0.5472 GB, free: 27.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.004494, allocations: 192 / 0.5472 GB, free: 27.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.004503, allocations: 8.375 kB / 0.5472 GB, free: 27.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.004509, allocations: 4.125 kB / 0.5472 GB, free: 27.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.402e-05/0.004583, allocations: 53.67 kB / 0.5472 GB, free: 27.69 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002973/0.004881, allocations: 204.1 kB / 0.5474 GB, free: 27.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.833e-05/0.004969, allocations: 72.27 kB / 0.5475 GB, free: 27.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.163e-05/0.005001, allocations: 50.55 kB / 0.5476 GB, free: 27.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.766e-06/0.005009, allocations: 4.125 kB / 0.5476 GB, free: 27.33 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001458/0.005155, allocations: 164.4 kB / 0.5477 GB, free: 27.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 2.956e-06/0.005158, allocations: 0 / 0.5477 GB, free: 27.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006531/0.005811, allocations: 433.6 kB / 0.5481 GB, free: 26.65 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.005853, allocations: 144.4 kB / 0.5483 GB, free: 26.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.154e-05/0.005905, allocations: 114 kB / 0.5484 GB, free: 26.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.005915, allocations: 29.7 kB / 0.5484 GB, free: 26.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.645e-05/0.005931, allocations: 92.17 kB / 0.5485 GB, free: 26.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.005968, allocations: 39.67 kB / 0.5485 GB, free: 26.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.839e-05/0.006006, allocations: 33.7 kB / 0.5486 GB, free: 26.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.375e-05/0.00605, allocations: 322.8 kB / 0.5489 GB, free: 25.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.523e-05/0.006075, allocations: 41.69 kB / 0.5489 GB, free: 25.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.033e-05/0.006115, allocations: 77.92 kB / 0.549 GB, free: 25.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.432e-05/0.00619, allocations: 143.6 kB / 0.5491 GB, free: 25.51 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.006191, allocations: 0 / 0.5491 GB, free: 25.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001067/0.006298, allocations: 156.9 kB / 0.5493 GB, free: 25.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.793e-05/0.006336, allocations: 37.64 kB / 0.5493 GB, free: 25.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.006343, allocations: 0 / 0.5493 GB, free: 25.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.006356, allocations: 0 / 0.5493 GB, free: 25.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.006522, allocations: 48.03 kB / 0.5493 GB, free: 25.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.006527, allocations: 0 / 0.5493 GB, free: 25.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.439e-05/0.006561, allocations: 8 kB / 0.5494 GB, free: 25.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.006568, allocations: 4 kB / 0.5494 GB, free: 25.24 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,central.rising,$PRE.central.rising,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 7.393e-05/0.006642, allocations: 150.7 kB / 0.5495 GB, free: 25.08 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.558e-05/0.006657, allocations: 15.94 kB / 0.5495 GB, free: 25.06 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.744e-05/0.006685, allocations: 8.438 kB / 0.5495 GB, free: 25.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.006686, allocations: 3.938 kB / 0.5495 GB, free: 25.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.006689, allocations: 3.984 kB / 0.5495 GB, free: 25.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.006693, allocations: 11.98 kB / 0.5495 GB, free: 25.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.00692, allocations: 306.1 kB / 0.5498 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.006922, allocations: 0 / 0.5498 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.00703, allocations: 33.88 kB / 0.5499 GB, free: 24.67 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.139e-05/0.007042, allocations: 3.953 kB / 0.5499 GB, free: 24.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.007046, allocations: 4 kB / 0.5499 GB, free: 24.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.007055, allocations: 4 kB / 0.5499 GB, free: 24.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.007057, allocations: 0 / 0.5499 GB, free: 24.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.007059, allocations: 3.125 kB / 0.5499 GB, free: 24.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.007218, allocations: 304.5 kB / 0.5502 GB, free: 24.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.007237, allocations: 7.984 kB / 0.5502 GB, free: 24.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.705e-05/0.007274, allocations: 0 / 0.5502 GB, free: 24.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/0.007307, allocations: 11.98 kB / 0.5502 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.007313, allocations: 0 / 0.5502 GB, free: 24.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.619e-05/0.007329, allocations: 20.78 kB / 0.5502 GB, free: 24.28 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007329, allocations: 0 / 0.5502 GB, free: 24.28 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001468/0.007476, allocations: 28 kB / 0.5502 GB, free: 24.25 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (central.C,central.AUC,elim.MExc) * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,central.Cmax,central.Cmin,central.rising) * Number of discrete states: 5 (central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 7.968e-05/0.007556, allocations: 84.41 kB / 0.5503 GB, free: 24.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001262/0.007682, allocations: 187.5 kB / 0.5505 GB, free: 23.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.007686, allocations: 4 kB / 0.5505 GB, free: 23.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.149e-05/0.007727, allocations: 125.9 kB / 0.5506 GB, free: 23.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/0.007907, allocations: 39.91 kB / 0.5507 GB, free: 23.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002853/0.01076, allocations: 345.9 kB / 0.551 GB, free: 23.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.301e-05/0.01079, allocations: 63.34 kB / 0.5511 GB, free: 23.31 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.913e-05/0.01083, allocations: 4.5 kB / 0.5511 GB, free: 23.31 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.922e-05/0.01091, allocations: 79.34 kB / 0.5511 GB, free: 23.23 MB / 410.7 MB Notification: Performance of SimCode: time 1.353e-06/0.01091, allocations: 4 kB / 0.5511 GB, free: 23.23 MB / 410.7 MB Notification: Performance of Templates: time 0.008019/0.01893, allocations: 1.554 MB / 0.5527 GB, free: 21.72 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.765250771306455]