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.0006257/0.0006257, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009044/0.00153, 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.000699/0.000699, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008779/0.001577, 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 1.035/1.035, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09502/1.13, allocations: 53.66 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 0.755/0.755, allocations: 291.1 MB / 0.5227 GB, free: 52.48 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0301/0.7851, allocations: 21.04 MB / 0.5433 GB, free: 31.5 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.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.653e-06/1.653e-06, allocations: 0 / 0.5446 GB, free: 30.21 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.365e-05/2.53e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.2 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations): time 0.001842/0.001867, allocations: 1.351 MB / 0.5459 GB, free: 28.84 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001124/0.00198, allocations: 51.73 kB / 0.5459 GB, free: 28.79 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.845e-05/0.002008, allocations: 3.938 kB / 0.5459 GB, free: 28.78 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.252e-05/0.00204, allocations: 3.938 kB / 0.5459 GB, free: 28.78 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.292e-05/0.002073, allocations: 4 kB / 0.5459 GB, free: 28.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.249e-05/0.002166, allocations: 23.84 kB / 0.546 GB, free: 28.75 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.103e-05/0.002257, allocations: 31.84 kB / 0.546 GB, free: 28.72 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.901e-05/0.002296, allocations: 4 kB / 0.546 GB, free: 28.71 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.613e-05/0.002382, allocations: 15.98 kB / 0.546 GB, free: 28.7 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.002485, allocations: 23.92 kB / 0.546 GB, free: 28.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.002506, allocations: 0 / 0.546 GB, free: 28.68 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.227e-06/0.002515, allocations: 0 / 0.546 GB, free: 28.68 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.436e-05/0.00254, allocations: 4 kB / 0.546 GB, free: 28.67 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.269e-05/0.002562, allocations: 4 kB / 0.546 GB, free: 28.67 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 6.993e-05/0.002632, allocations: 15.91 kB / 0.5461 GB, free: 28.65 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.082e-05/0.002643, allocations: 0 / 0.5461 GB, free: 28.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.002644, allocations: 0 / 0.5461 GB, free: 28.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.002652, allocations: 4 kB / 0.5461 GB, free: 28.65 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003581/0.00301, allocations: 251 kB / 0.5463 GB, free: 28.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.003045, allocations: 11.89 kB / 0.5463 GB, free: 28.37 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.877e-05/0.003074, allocations: 4.938 kB / 0.5463 GB, free: 28.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.75e-05/0.003172, allocations: 109.8 kB / 0.5464 GB, free: 28.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.314e-06/0.003179, allocations: 3.625 kB / 0.5464 GB, free: 28.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.003191, allocations: 12.34 kB / 0.5464 GB, free: 28.22 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.003292, allocations: 64.61 kB / 0.5465 GB, free: 28.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.003299, allocations: 192 / 0.5465 GB, free: 28.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.003306, allocations: 384 / 0.5465 GB, free: 28.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.003312, allocations: 384 / 0.5465 GB, free: 28.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.528e-05/0.003327, allocations: 11.94 kB / 0.5465 GB, free: 28.13 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001937/0.003521, allocations: 239.1 kB / 0.5467 GB, free: 27.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.768e-05/0.003559, allocations: 22.58 kB / 0.5468 GB, free: 27.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.457e-05/0.003573, allocations: 4.859 kB / 0.5468 GB, free: 27.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.003585, allocations: 0 / 0.5468 GB, free: 27.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.53e-05/0.0036, allocations: 34.62 kB / 0.5468 GB, free: 27.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.003601, allocations: 0 / 0.5468 GB, free: 27.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001094/0.00371, allocations: 37.58 kB / 0.5468 GB, free: 27.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.791e-05/0.003728, allocations: 55.39 kB / 0.5469 GB, free: 27.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.184e-05/0.00378, allocations: 118.8 kB / 0.547 GB, free: 27.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.901e-06/0.003786, allocations: 29.7 kB / 0.547 GB, free: 27.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.814e-05/0.003814, allocations: 84.14 kB / 0.5471 GB, free: 27.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.593e-06/0.00382, allocations: 7.953 kB / 0.5471 GB, free: 27.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.463e-05/0.003845, allocations: 9.719 kB / 0.5471 GB, free: 27.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.26e-05/0.003878, allocations: 322.8 kB / 0.5474 GB, free: 27.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.496e-06/0.003886, allocations: 0 / 0.5474 GB, free: 27.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.281e-05/0.003899, allocations: 13.72 kB / 0.5475 GB, free: 27.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.879e-05/0.003928, allocations: 20.48 kB / 0.5475 GB, free: 27.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.00393, allocations: 4.062 kB / 0.5475 GB, free: 27.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.096e-05/0.003981, allocations: 37.69 kB / 0.5475 GB, free: 26.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.003993, allocations: 8 kB / 0.5475 GB, free: 26.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.003998, allocations: 0 / 0.5475 GB, free: 26.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.004012, allocations: 3.938 kB / 0.5475 GB, free: 26.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.776e-05/0.004079, allocations: 11.92 kB / 0.5475 GB, free: 26.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.004082, allocations: 4 kB / 0.5475 GB, free: 26.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.569e-05/0.004108, allocations: 0 / 0.5475 GB, free: 26.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.004115, allocations: 4 kB / 0.5475 GB, free: 26.96 MB / 410.7 MB 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.829e-05/0.004154, allocations: 116.7 kB / 0.5477 GB, free: 26.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.667e-05/0.00417, allocations: 0 / 0.5477 GB, free: 26.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.957e-05/0.00424, allocations: 43.67 kB / 0.5477 GB, free: 26.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.004242, allocations: 7.922 kB / 0.5477 GB, free: 26.78 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.004244, allocations: 0 / 0.5477 GB, free: 26.78 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.004246, allocations: 0 / 0.5477 GB, free: 26.78 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.024e-05/0.004337, allocations: 69.89 kB / 0.5478 GB, free: 26.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.004338, allocations: 0 / 0.5478 GB, free: 26.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.38e-05/0.004372, allocations: 7.984 kB / 0.5478 GB, free: 26.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.037e-06/0.004381, allocations: 11.14 kB / 0.5478 GB, free: 26.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.004383, allocations: 11.91 kB / 0.5478 GB, free: 26.67 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.229e-06/0.004388, allocations: 4 kB / 0.5478 GB, free: 26.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.004389, allocations: 0 / 0.5478 GB, free: 26.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.004391, allocations: 3.938 kB / 0.5478 GB, free: 26.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.138e-05/0.004442, allocations: 127.5 kB / 0.5479 GB, free: 26.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.167e-06/0.004451, allocations: 4 kB / 0.5479 GB, free: 26.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.914e-05/0.0045, allocations: 0 / 0.5479 GB, free: 26.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.729e-05/0.004528, allocations: 4 kB / 0.5479 GB, free: 26.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.004533, allocations: 7.922 kB / 0.5479 GB, free: 26.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.642e-05/0.004549, allocations: 8.859 kB / 0.548 GB, free: 26.49 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.004549, allocations: 8.031 kB / 0.548 GB, free: 26.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001766/0.004726, allocations: 4 kB / 0.548 GB, free: 26.48 MB / 410.7 MB 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 6.575e-05/0.004792, allocations: 76.42 kB / 0.548 GB, free: 26.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.165e-05/0.004853, allocations: 24.77 kB / 0.5481 GB, free: 26.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.004858, allocations: 0 / 0.5481 GB, free: 26.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.895e-05/0.004877, allocations: 8.859 kB / 0.5481 GB, free: 26.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001954/0.005072, allocations: 8 kB / 0.5481 GB, free: 26.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000663/0.005735, allocations: 136.5 kB / 0.5482 GB, free: 26.19 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.663e-05/0.005762, allocations: 55.36 kB / 0.5483 GB, free: 26.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.556e-05/0.005787, allocations: 7.922 kB / 0.5483 GB, free: 26.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.915e-05/0.005837, allocations: 59.36 kB / 0.5483 GB, free: 26.05 MB / 410.7 MB Notification: Performance of SimCode: time 6.91e-07/0.005837, allocations: 0 / 0.5483 GB, free: 26.05 MB / 410.7 MB Notification: Performance of Templates: time 0.002271/0.008108, allocations: 0.5287 MB / 0.5488 GB, free: 25.53 MB / 410.7 MB " [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: 3.179935961961746]