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.0006557/0.0006557, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008557/0.001511, allocations: 440 kB / 10.41 MB, free: 284 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.0007936/0.0007936, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009446/0.001738, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.8342/0.8342, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07081/0.905, allocations: 53.67 MB / 243.4 MB, free: 15.5 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 3.334/3.334, allocations: 291.1 MB / 0.5227 GB, free: 52.46 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03164/3.365, allocations: 21.05 MB / 0.5433 GB, free: 31.48 MB / 410.7 MB " [Timeout remaining time 177] 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 1.232e-06/1.232e-06, allocations: 0 / 0.5446 GB, free: 30.17 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.883e-05/2.006e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.16 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKOneCompartmentSimplestModel): time 0.00286/0.00288, allocations: 1.832 MB / 0.5464 GB, free: 28.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002034/0.003083, allocations: 99.67 kB / 0.5465 GB, free: 28.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.145e-05/0.003124, allocations: 0 / 0.5465 GB, free: 28.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.836e-05/0.003173, allocations: 11.86 kB / 0.5465 GB, free: 28.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.33e-05/0.003236, allocations: 19.84 kB / 0.5465 GB, free: 28.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.935e-05/0.003315, allocations: 35.77 kB / 0.5465 GB, free: 28.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.003444, allocations: 95.55 kB / 0.5466 GB, free: 28.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.536e-05/0.003519, allocations: 12.17 kB / 0.5466 GB, free: 28.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.179e-05/0.003601, allocations: 51.89 kB / 0.5467 GB, free: 28 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.32e-05/0.003674, allocations: 31.89 kB / 0.5467 GB, free: 27.97 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.003693, allocations: 8 kB / 0.5467 GB, free: 27.96 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.58e-05/0.003709, allocations: 4 kB / 0.5467 GB, free: 27.96 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.989e-05/0.003729, allocations: 11.94 kB / 0.5467 GB, free: 27.95 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.452e-05/0.003764, allocations: 20 kB / 0.5468 GB, free: 27.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.003865, allocations: 47.84 kB / 0.5468 GB, free: 27.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.003874, allocations: 0 / 0.5468 GB, free: 27.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.003875, allocations: 4 kB / 0.5468 GB, free: 27.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.003883, allocations: 0 / 0.5468 GB, free: 27.88 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.0003554/0.004238, allocations: 312.5 kB / 0.5471 GB, free: 27.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/0.004268, allocations: 11.89 kB / 0.5471 GB, free: 27.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.692e-05/0.004305, allocations: 8.938 kB / 0.5471 GB, free: 27.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.004411, allocations: 125.7 kB / 0.5472 GB, free: 27.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.004423, allocations: 384 / 0.5472 GB, free: 27.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.004444, allocations: 12.33 kB / 0.5473 GB, free: 27.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.004566, allocations: 104.6 kB / 0.5474 GB, free: 27.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.004576, allocations: 4.188 kB / 0.5474 GB, free: 27.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.096e-06/0.004584, allocations: 8.312 kB / 0.5474 GB, free: 27.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.004589, allocations: 4.125 kB / 0.5474 GB, free: 27.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.986e-05/0.004659, allocations: 69.59 kB / 0.5474 GB, free: 27.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002612/0.00492, allocations: 192.2 kB / 0.5476 GB, free: 26.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.785e-05/0.005008, allocations: 72.2 kB / 0.5477 GB, free: 26.87 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.255e-05/0.005041, allocations: 46.55 kB / 0.5477 GB, free: 26.81 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.534e-06/0.005048, allocations: 4 kB / 0.5477 GB, free: 26.81 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000118/0.005166, allocations: 164.4 kB / 0.5479 GB, free: 26.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.005167, allocations: 0 / 0.5479 GB, free: 26.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005607/0.005728, allocations: 441.8 kB / 0.5483 GB, free: 26.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.005765, allocations: 158.2 kB / 0.5485 GB, free: 25.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.131e-05/0.005816, allocations: 114.1 kB / 0.5486 GB, free: 25.81 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.005828, allocations: 33.64 kB / 0.5486 GB, free: 25.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.532e-05/0.005844, allocations: 92.17 kB / 0.5487 GB, free: 25.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/0.005879, allocations: 39.67 kB / 0.5487 GB, free: 25.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-05/0.005919, allocations: 37.69 kB / 0.5488 GB, free: 25.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.526e-05/0.005954, allocations: 318.8 kB / 0.5491 GB, free: 25.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.098e-05/0.005985, allocations: 45.7 kB / 0.5491 GB, free: 25.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.681e-05/0.006032, allocations: 81.92 kB / 0.5492 GB, free: 25.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.026e-05/0.006112, allocations: 135.6 kB / 0.5493 GB, free: 24.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.006113, allocations: 0 / 0.5493 GB, free: 24.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001296/0.006243, allocations: 156.9 kB / 0.5495 GB, free: 24.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.006269, allocations: 37.81 kB / 0.5495 GB, free: 24.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.006273, allocations: 4 kB / 0.5495 GB, free: 24.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.006283, allocations: 0 / 0.5495 GB, free: 24.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.006434, allocations: 39.92 kB / 0.5496 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.006437, allocations: 0 / 0.5496 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.518e-05/0.006482, allocations: 8 kB / 0.5496 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.00649, allocations: 4 kB / 0.5496 GB, free: 24.69 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.057e-05/0.006561, allocations: 154.6 kB / 0.5497 GB, free: 24.53 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.006584, allocations: 19.92 kB / 0.5497 GB, free: 24.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.314e-05/0.006607, allocations: 12.44 kB / 0.5497 GB, free: 24.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.006609, allocations: 0 / 0.5497 GB, free: 24.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.00661, allocations: 0 / 0.5497 GB, free: 24.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.006614, allocations: 4 kB / 0.5497 GB, free: 24.49 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.006856, allocations: 314.1 kB / 0.55 GB, free: 24.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.006858, allocations: 0 / 0.55 GB, free: 24.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.006981, allocations: 33.83 kB / 0.5501 GB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.121e-05/0.006992, allocations: 3.953 kB / 0.5501 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.006996, allocations: 7.984 kB / 0.5501 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.007006, allocations: 8 kB / 0.5501 GB, free: 24.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.007009, allocations: 3.125 kB / 0.5501 GB, free: 24.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.007011, allocations: 0 / 0.5501 GB, free: 24.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.007197, allocations: 304.5 kB / 0.5504 GB, free: 23.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.007214, allocations: 4 kB / 0.5504 GB, free: 23.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.43e-05/0.007279, allocations: 3.938 kB / 0.5504 GB, free: 23.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.007308, allocations: 11.98 kB / 0.5504 GB, free: 23.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.007316, allocations: 4 kB / 0.5504 GB, free: 23.74 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.48e-05/0.007331, allocations: 16.83 kB / 0.5504 GB, free: 23.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007331, allocations: 0 / 0.5504 GB, free: 23.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002217/0.007553, allocations: 32 kB / 0.5505 GB, free: 23.69 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 8.128e-05/0.007634, allocations: 80.42 kB / 0.5505 GB, free: 23.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001443/0.007779, allocations: 187.5 kB / 0.5507 GB, free: 23.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.007783, allocations: 0 / 0.5507 GB, free: 23.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.019e-05/0.007853, allocations: 125.9 kB / 0.5508 GB, free: 23.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.008106, allocations: 125.4 kB / 0.551 GB, free: 23.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003716/0.01182, allocations: 337.5 kB / 0.5513 GB, free: 22.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.384e-05/0.01186, allocations: 71.3 kB / 0.5513 GB, free: 22.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.981e-05/0.0119, allocations: 8.5 kB / 0.5514 GB, free: 22.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.958e-05/0.01198, allocations: 79.36 kB / 0.5514 GB, free: 22.57 MB / 410.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01198, allocations: 0 / 0.5514 GB, free: 22.57 MB / 410.7 MB Notification: Performance of Templates: time 0.003136/0.01511, allocations: 1.566 MB / 0.553 GB, free: 21.05 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: 5.4637017929926515]