Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.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.001032/0.001032, allocations: 91.55 kB / 20.19 MB, free: 4.348 MB / 18.57 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.001018/0.001018, allocations: 169 kB / 23.5 MB, free: 1.043 MB / 18.57 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.991/0.991, allocations: 177.1 MB / 203.8 MB, free: 5.199 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/Examples/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: Paracetamol_Experiment Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/package.mo): time 1.573/1.573, allocations: 273.5 MB / 0.5213 GB, free: 14.89 MB / 458.7 MB " [Timeout remaining time 178] Using package Pharmacolibrary with version 25.09 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.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.DevModels.Systems.PKOneCompartmentEquations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations") translateModel(Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.647 GB, free: 38.93 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.939e-05/3.144e-05, allocations: 6.031 kB / 0.647 GB, free: 38.93 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations): time 0.001663/0.001695, allocations: 1.291 MB / 0.6482 GB, free: 38.07 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0001898/0.001885, allocations: 53.77 kB / 0.6483 GB, free: 38.04 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.546e-05/0.00192, allocations: 0 / 0.6483 GB, free: 38.04 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 7.671e-05/0.001997, allocations: 10.27 kB / 0.6483 GB, free: 38.04 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 3.948e-05/0.002036, allocations: 3.531 kB / 0.6483 GB, free: 38.04 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001521/0.002188, allocations: 17.42 kB / 0.6483 GB, free: 38.03 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 8.741e-05/0.002276, allocations: 30.78 kB / 0.6484 GB, free: 38.02 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.704e-05/0.002323, allocations: 2.25 kB / 0.6484 GB, free: 38.02 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.06e-05/0.002393, allocations: 15.88 kB / 0.6484 GB, free: 38.02 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.092e-05/0.002484, allocations: 15.58 kB / 0.6484 GB, free: 38.02 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.002504, allocations: 0.8438 kB / 0.6484 GB, free: 38.02 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.046e-05/0.002515, allocations: 1.938 kB / 0.6484 GB, free: 38.02 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 1.994e-05/0.002535, allocations: 3.906 kB / 0.6484 GB, free: 38.02 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 2.778e-05/0.002562, allocations: 7.516 kB / 0.6484 GB, free: 38.02 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 7.11e-05/0.002633, allocations: 21.83 kB / 0.6484 GB, free: 38.01 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.002636, allocations: 0 / 0.6484 GB, free: 38.01 MB / 0.5262 GB Notification: Performance of FrontEnd: time 8.52e-07/0.002637, allocations: 3.812 kB / 0.6484 GB, free: 38.01 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.002641, allocations: 0 / 0.6484 GB, free: 38.01 MB / 0.5262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003413/0.002982, allocations: 371.7 kB / 0.6488 GB, free: 37.63 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.00302, allocations: 9.156 kB / 0.6488 GB, free: 37.63 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.594e-05/0.003056, allocations: 7.578 kB / 0.6488 GB, free: 37.63 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.132e-05/0.003148, allocations: 117.4 kB / 0.6489 GB, free: 37.5 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.806e-06/0.003156, allocations: 2.5 kB / 0.6489 GB, free: 37.5 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.836e-06/0.003165, allocations: 1.25 kB / 0.6489 GB, free: 37.5 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.00327, allocations: 68.52 kB / 0.649 GB, free: 37.42 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.5e-06/0.003275, allocations: 192 / 0.649 GB, free: 37.42 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.003283, allocations: 2.406 kB / 0.649 GB, free: 37.42 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.003291, allocations: 1.844 kB / 0.649 GB, free: 37.42 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.147e-05/0.003312, allocations: 16 kB / 0.649 GB, free: 37.41 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002255/0.003538, allocations: 375.8 kB / 0.6494 GB, free: 37.02 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.264e-05/0.00357, allocations: 24.94 kB / 0.6494 GB, free: 36.98 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.73e-05/0.003588, allocations: 12.45 kB / 0.6494 GB, free: 36.97 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.0036, allocations: 1.906 kB / 0.6494 GB, free: 36.97 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.469e-05/0.003615, allocations: 35.45 kB / 0.6494 GB, free: 36.93 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.003616, allocations: 1.219 kB / 0.6494 GB, free: 36.93 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1): time 0.0001327/0.003749, allocations: 44.55 kB / 0.6495 GB, free: 36.89 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.152e-05/0.00376, allocations: 51.41 kB / 0.6495 GB, free: 36.82 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.23e-05/0.003823, allocations: 177.1 kB / 0.6497 GB, free: 36.65 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 5.32e-06/0.003828, allocations: 25.7 kB / 0.6497 GB, free: 36.62 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 3.496e-05/0.003863, allocations: 138.2 kB / 0.6498 GB, free: 36.48 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 4.418e-06/0.003867, allocations: 1.25 kB / 0.6498 GB, free: 36.48 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.223e-05/0.003889, allocations: 19.25 kB / 0.6499 GB, free: 36.46 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 4.168e-05/0.003931, allocations: 499.5 kB / 0.6503 GB, free: 35.96 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.108e-05/0.003942, allocations: 3.594 kB / 0.6503 GB, free: 35.96 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.154e-05/0.003954, allocations: 17.97 kB / 0.6504 GB, free: 35.94 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.764e-05/0.003981, allocations: 32.16 kB / 0.6504 GB, free: 35.91 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.003983, allocations: 0 / 0.6504 GB, free: 35.91 MB / 0.5262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.494e-05/0.004028, allocations: 47.47 kB / 0.6504 GB, free: 35.87 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.00404, allocations: 5 kB / 0.6504 GB, free: 35.87 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.004045, allocations: 3.938 kB / 0.6504 GB, free: 35.87 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.004056, allocations: 2.438 kB / 0.6504 GB, free: 35.87 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.491e-05/0.004111, allocations: 9.484 kB / 0.6505 GB, free: 35.87 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.004117, allocations: 0 / 0.6505 GB, free: 35.87 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.187e-05/0.004139, allocations: 11.34 kB / 0.6505 GB, free: 35.86 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.004144, allocations: 0 / 0.6505 GB, free: 35.86 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 3.675e-05/0.004181, allocations: 160.1 kB / 0.6506 GB, free: 35.7 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.275e-05/0.004194, allocations: 2.719 kB / 0.6506 GB, free: 35.7 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.355e-05/0.004267, allocations: 58.86 kB / 0.6507 GB, free: 35.65 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.00427, allocations: 3.234 kB / 0.6507 GB, free: 35.65 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.004271, allocations: 1.25 kB / 0.6507 GB, free: 35.65 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.123e-06/0.004278, allocations: 3.953 kB / 0.6507 GB, free: 35.65 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.879e-06/0.004288, allocations: 2.5 kB / 0.6507 GB, free: 35.65 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.059e-05/0.004319, allocations: 2.938 kB / 0.6507 GB, free: 35.65 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.613e-05/0.004345, allocations: 3.797 kB / 0.6507 GB, free: 35.65 MB / 0.5262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 4.745e-05/0.004392, allocations: 160 kB / 0.6509 GB, free: 35.5 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 6.281e-05/0.004455, allocations: 311.8 kB / 0.6511 GB, free: 35.19 MB / 0.5262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.309e-05/0.004478, allocations: 12.97 kB / 0.6512 GB, free: 35.17 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 2.13e-05/0.0045, allocations: 129.9 kB / 0.6513 GB, free: 35.05 MB / 0.5262 GB Notification: Performance of Backend: time 4.11e-07/0.0045, allocations: 0 / 0.6513 GB, free: 35.05 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0002309/0.004731, allocations: 96.67 kB / 0.6514 GB, free: 34.97 MB / 0.5262 GB Notification: Performance of SimCode: time 0.000529/0.00526, allocations: 0.8093 MB / 0.6522 GB, free: 34.14 MB / 0.5262 GB Notification: Performance of Templates: time 0.002412/0.007672, allocations: 449.8 kB / 0.6526 GB, free: 34.09 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.sim & ./Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.633493780856952]