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.000925/0.000925, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009042/0.0009042, allocations: 169 kB / 23.27 MB, free: 1.223 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 1.078/1.078, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.594/1.594, allocations: 273.5 MB / 0.5212 GB, free: 14.75 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 1.332e-06/1.332e-06, allocations: 0 / 0.6474 GB, free: 38.58 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.979e-06/1.131e-05, allocations: 3.625 kB / 0.6474 GB, free: 38.58 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations): time 0.001242/0.001253, allocations: 1.299 MB / 0.6487 GB, free: 37.72 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0001619/0.001415, allocations: 49.02 kB / 0.6487 GB, free: 37.69 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.975e-05/0.001445, allocations: 1.312 kB / 0.6487 GB, free: 37.69 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 6.227e-05/0.001507, allocations: 0 / 0.6487 GB, free: 37.69 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 3.638e-05/0.001544, allocations: 10.45 kB / 0.6487 GB, free: 37.69 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001259/0.00167, allocations: 19.03 kB / 0.6487 GB, free: 37.68 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 6.635e-05/0.001736, allocations: 28.08 kB / 0.6488 GB, free: 37.68 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.203e-05/0.001768, allocations: 6.625 kB / 0.6488 GB, free: 37.67 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.347e-05/0.001831, allocations: 14.02 kB / 0.6488 GB, free: 37.67 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.191e-05/0.001903, allocations: 10.94 kB / 0.6488 GB, free: 37.67 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.001918, allocations: 1 kB / 0.6488 GB, free: 37.67 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.523e-06/0.001925, allocations: 0 / 0.6488 GB, free: 37.67 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 1.482e-05/0.00194, allocations: 10.7 kB / 0.6488 GB, free: 37.66 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 1.852e-05/0.001958, allocations: 7.656 kB / 0.6488 GB, free: 37.66 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 4.991e-05/0.002008, allocations: 18.31 kB / 0.6488 GB, free: 37.66 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 1.393e-06/0.002009, allocations: 0 / 0.6488 GB, free: 37.66 MB / 0.5262 GB Notification: Performance of FrontEnd: time 4.5e-07/0.00201, allocations: 1.312 kB / 0.6488 GB, free: 37.66 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 3.056e-06/0.002013, allocations: 2.375 kB / 0.6488 GB, free: 37.66 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.000254/0.002267, allocations: 381 kB / 0.6492 GB, free: 37.28 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.002299, allocations: 9.656 kB / 0.6492 GB, free: 37.28 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.376e-05/0.002323, allocations: 6.984 kB / 0.6492 GB, free: 37.27 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.275e-05/0.002386, allocations: 108.3 kB / 0.6493 GB, free: 37.14 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.753e-06/0.002392, allocations: 2.281 kB / 0.6493 GB, free: 37.14 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.613e-06/0.002399, allocations: 6.688 kB / 0.6493 GB, free: 37.14 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.987e-05/0.002469, allocations: 67.38 kB / 0.6494 GB, free: 37.07 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.179e-06/0.002474, allocations: 2.5 kB / 0.6494 GB, free: 37.07 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.072e-06/0.00248, allocations: 3.844 kB / 0.6494 GB, free: 37.07 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.002484, allocations: 384 / 0.6494 GB, free: 37.07 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.304e-05/0.002497, allocations: 11.53 kB / 0.6494 GB, free: 37.06 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001619/0.002659, allocations: 363.5 kB / 0.6498 GB, free: 36.69 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 2.37e-05/0.002683, allocations: 30.75 kB / 0.6498 GB, free: 36.65 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.024e-05/0.002693, allocations: 11.38 kB / 0.6498 GB, free: 36.64 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.105e-06/0.002701, allocations: 2.375 kB / 0.6498 GB, free: 36.64 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.2e-05/0.002713, allocations: 33.39 kB / 0.6498 GB, free: 36.6 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=1): time 6.92e-07/0.002714, allocations: 1.844 kB / 0.6498 GB, free: 36.6 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1): time 8.306e-05/0.002797, allocations: 33.55 kB / 0.6499 GB, free: 36.56 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.361e-05/0.00281, allocations: 56.22 kB / 0.6499 GB, free: 36.5 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.081e-05/0.002851, allocations: 180.7 kB / 0.6501 GB, free: 36.32 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 4.639e-06/0.002856, allocations: 27.23 kB / 0.6501 GB, free: 36.29 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 2.772e-05/0.002884, allocations: 137.9 kB / 0.6503 GB, free: 36.15 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 3.667e-06/0.002887, allocations: 2.344 kB / 0.6503 GB, free: 36.15 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.821e-05/0.002906, allocations: 24.69 kB / 0.6503 GB, free: 36.12 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 3.559e-05/0.002941, allocations: 493.6 kB / 0.6508 GB, free: 35.63 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.083e-06/0.002948, allocations: 1.531 kB / 0.6508 GB, free: 35.63 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.348e-06/0.002958, allocations: 18.81 kB / 0.6508 GB, free: 35.61 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.146e-05/0.002979, allocations: 28.44 kB / 0.6508 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.00298, allocations: 0 / 0.6508 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.385e-05/0.003014, allocations: 44.12 kB / 0.6508 GB, free: 35.54 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/0.003023, allocations: 5.875 kB / 0.6508 GB, free: 35.54 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.003027, allocations: 0 / 0.6508 GB, free: 35.54 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.003036, allocations: 5.531 kB / 0.6509 GB, free: 35.54 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.901e-05/0.003075, allocations: 10.16 kB / 0.6509 GB, free: 35.54 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.165e-06/0.003077, allocations: 2.953 kB / 0.6509 GB, free: 35.54 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.995e-05/0.003097, allocations: 12.28 kB / 0.6509 GB, free: 35.53 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.003101, allocations: 0 / 0.6509 GB, free: 35.53 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.115e-05/0.003132, allocations: 161.1 kB / 0.651 GB, free: 35.37 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.106e-05/0.003143, allocations: 2 kB / 0.651 GB, free: 35.37 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.062e-05/0.003194, allocations: 45.58 kB / 0.6511 GB, free: 35.33 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.003195, allocations: 3.938 kB / 0.6511 GB, free: 35.32 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.003197, allocations: 0 / 0.6511 GB, free: 35.32 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.003199, allocations: 1.281 kB / 0.6511 GB, free: 35.32 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.082e-05/0.00326, allocations: 102.1 kB / 0.6512 GB, free: 35.21 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.003261, allocations: 0 / 0.6512 GB, free: 35.21 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.684e-05/0.003278, allocations: 7.062 kB / 0.6512 GB, free: 35.21 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.32e-07/0.003279, allocations: 0 / 0.6512 GB, free: 35.21 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-06/0.003282, allocations: 1.641 kB / 0.6512 GB, free: 35.21 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.003282, allocations: 0 / 0.6512 GB, free: 35.21 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.003283, allocations: 3.406 kB / 0.6512 GB, free: 35.21 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.25e-05/0.003326, allocations: 196.5 kB / 0.6514 GB, free: 35.01 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.112e-06/0.003332, allocations: 5.672 kB / 0.6514 GB, free: 35.01 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.633e-06/0.003338, allocations: 3.156 kB / 0.6514 GB, free: 35.01 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.945e-05/0.003368, allocations: 5.031 kB / 0.6514 GB, free: 35.01 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.796e-05/0.003386, allocations: 7.5 kB / 0.6514 GB, free: 35 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.003387, allocations: 0 / 0.6514 GB, free: 35 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 1.766e-05/0.003405, allocations: 129 kB / 0.6515 GB, free: 34.89 MB / 0.5262 GB Notification: Performance of sort global known variables: time 7e-08/0.003405, allocations: 0 / 0.6515 GB, free: 34.89 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0001273/0.003532, allocations: 3.875 kB / 0.6515 GB, free: 34.89 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (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 Backend phase and start with SimCode phase: time 4.424e-05/0.003577, allocations: 96.25 kB / 0.6516 GB, free: 34.8 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 4.695e-05/0.003624, allocations: 23.98 kB / 0.6516 GB, free: 34.78 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-06/0.003625, allocations: 2.219 kB / 0.6516 GB, free: 34.78 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 1.116e-05/0.003636, allocations: 11 kB / 0.6517 GB, free: 34.77 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.003791, allocations: 5.188 kB / 0.6517 GB, free: 34.77 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002813/0.004072, allocations: 133 kB / 0.6518 GB, free: 34.64 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.268e-05/0.004095, allocations: 57.41 kB / 0.6518 GB, free: 34.56 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 1.653e-05/0.004112, allocations: 3.5 kB / 0.6518 GB, free: 34.56 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.582e-05/0.004157, allocations: 77.17 kB / 0.6519 GB, free: 34.49 MB / 0.5262 GB Notification: Performance of SimCode: time 9.12e-07/0.004158, allocations: 0 / 0.6519 GB, free: 34.49 MB / 0.5262 GB Notification: Performance of Templates: time 0.001808/0.005966, allocations: 0.4976 MB / 0.6524 GB, free: 34.45 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.616819991264492]