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.0009383/0.0009383, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.0009254/0.0009254, allocations: 181 kB / 23.36 MB, free: 1.133 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.9899/0.9899, allocations: 177.2 MB / 203.8 MB, free: 5.469 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 2.67/2.67, allocations: 273.5 MB / 0.5213 GB, free: 14.71 MB / 458.7 MB " [Timeout remaining time 177] 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.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.513e-06/1.513e-06, allocations: 0 / 0.5954 GB, free: 2.82 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.398e-05/1.549e-05, allocations: 2.312 kB / 0.5954 GB, free: 2.816 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKOneCompartmentSimplestModel): time 0.001887/0.001903, allocations: 1.739 MB / 0.5971 GB, free: 1.082 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0002353/0.002138, allocations: 84.91 kB / 0.5972 GB, free: 1 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.904e-05/0.002187, allocations: 0 / 0.5972 GB, free: 1 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 9.854e-05/0.002286, allocations: 15.86 kB / 0.5972 GB, free: 0.9844 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 8.665e-05/0.002372, allocations: 28.2 kB / 0.5972 GB, free: 0.9648 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 8.63e-05/0.002459, allocations: 17.62 kB / 0.5972 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.002597, allocations: 90.53 kB / 0.5973 GB, free: 0.8867 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 8.395e-05/0.002681, allocations: 16.11 kB / 0.5973 GB, free: 0.8711 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 6.485e-05/0.002746, allocations: 47.02 kB / 0.5974 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 7.265e-05/0.002819, allocations: 18.61 kB / 0.5974 GB, free: 0.8125 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.002838, allocations: 4 kB / 0.5974 GB, free: 0.8086 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 1.201e-05/0.00285, allocations: 12 kB / 0.5974 GB, free: 0.7969 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.484e-05/0.002874, allocations: 14.59 kB / 0.5974 GB, free: 0.7852 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.725e-05/0.002912, allocations: 26.73 kB / 0.5974 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 9.759e-05/0.003009, allocations: 54.61 kB / 0.5975 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.003011, allocations: 0 / 0.5975 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of FrontEnd: time 5.51e-07/0.003012, allocations: 0 / 0.5975 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.785e-06/0.003014, allocations: 0 / 0.5975 GB, free: 0.7109 MB / 0.5105 GB 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.0003346/0.003349, allocations: 286.5 kB / 0.5978 GB, free: 412 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.003381, allocations: 8.031 kB / 0.5978 GB, free: 404 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.863e-05/0.00341, allocations: 12.94 kB / 0.5978 GB, free: 392 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.003512, allocations: 129.7 kB / 0.5979 GB, free: 236 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.003523, allocations: 4.375 kB / 0.5979 GB, free: 232 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.003544, allocations: 8.375 kB / 0.5979 GB, free: 224 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.002e-05/0.003634, allocations: 93.28 kB / 0.598 GB, free: 120 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.003645, allocations: 4.188 kB / 0.598 GB, free: 116 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.003653, allocations: 7.938 kB / 0.598 GB, free: 108 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.003658, allocations: 0 / 0.598 GB, free: 108 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.764e-05/0.003716, allocations: 57.61 kB / 0.5981 GB, free: 44 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002384/0.003954, allocations: 184.2 kB / 0.5983 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.369e-05/0.004028, allocations: 80.17 kB / 0.5983 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.906e-05/0.004057, allocations: 54.5 kB / 0.5984 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 6.192e-06/0.004063, allocations: 0 / 0.5984 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001073/0.004171, allocations: 168.4 kB / 0.5985 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 7.11e-07/0.004171, allocations: 1.312 kB / 0.5985 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13): time 0.0005001/0.004671, allocations: 423.4 kB / 0.599 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.004726, allocations: 136.5 kB / 0.5991 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.944e-05/0.004785, allocations: 118.2 kB / 0.5992 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.004799, allocations: 31 kB / 0.5992 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.468e-05/0.004823, allocations: 92.12 kB / 0.5993 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.432e-05/0.004858, allocations: 47.56 kB / 0.5994 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-05/0.004889, allocations: 33.7 kB / 0.5994 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.98e-05/0.004969, allocations: 318.8 kB / 0.5997 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.816e-05/0.005007, allocations: 50.77 kB / 0.5997 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.039e-05/0.005048, allocations: 73.77 kB / 0.5998 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.005159, allocations: 191.1 kB / 0.6 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.00516, allocations: 4 kB / 0.6 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19) (initialization): time 9.658e-05/0.005257, allocations: 144.9 kB / 0.6001 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.005278, allocations: 33.7 kB / 0.6002 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.005283, allocations: 3.234 kB / 0.6002 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.005296, allocations: 5.312 kB / 0.6002 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.882e-05/0.005365, allocations: 23.98 kB / 0.6002 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.774e-06/0.005366, allocations: 4 kB / 0.6002 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.78e-05/0.005394, allocations: 8 kB / 0.6002 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.005399, allocations: 8.125 kB / 0.6002 GB, free: 13.57 MB / 0.5261 GB Warning: Assuming fixed start value for the following 4 variables: central.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real central.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real central.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real central.rising:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.central.Cmin,central.Cmin,$PRE.central.Cmax,central.Cmax,$PRE.central.rising,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 8.843e-05/0.005488, allocations: 163.8 kB / 0.6004 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.223e-05/0.0055, allocations: 15.98 kB / 0.6004 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.505e-05/0.005515, allocations: 12.44 kB / 0.6004 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.31e-07/0.005516, allocations: 0 / 0.6004 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.005517, allocations: 0 / 0.6004 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.005519, allocations: 4 kB / 0.6004 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.005712, allocations: 311.5 kB / 0.6007 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.52e-07/0.005713, allocations: 0 / 0.6007 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.863e-05/0.005761, allocations: 12 kB / 0.6007 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.005763, allocations: 4 kB / 0.6007 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.00577, allocations: 7.984 kB / 0.6007 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.005771, allocations: 0 / 0.6007 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.005771, allocations: 0 / 0.6007 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.005916, allocations: 304.5 kB / 0.601 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.055e-05/0.005927, allocations: 13.02 kB / 0.601 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.005937, allocations: 8 kB / 0.601 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.087e-05/0.005968, allocations: 0 / 0.601 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.391e-05/0.005992, allocations: 11.98 kB / 0.601 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.005997, allocations: 4 kB / 0.6011 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 1.133e-05/0.006008, allocations: 12.84 kB / 0.6011 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4e-08/0.006008, allocations: 0 / 0.6011 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001234/0.006131, allocations: 28 kB / 0.6011 GB, free: 12.6 MB / 0.5261 GB 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 5.183e-05/0.006183, allocations: 80.42 kB / 0.6012 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001192/0.006302, allocations: 191.6 kB / 0.6014 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.006304, allocations: 1.312 kB / 0.6014 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.908e-05/0.006363, allocations: 121.9 kB / 0.6015 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001205/0.006483, allocations: 26.89 kB / 0.6015 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006823/0.007166, allocations: 381.5 kB / 0.6019 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.429e-05/0.0072, allocations: 63.34 kB / 0.6019 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.486e-05/0.007225, allocations: 12.42 kB / 0.6019 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.591e-05/0.007291, allocations: 75.36 kB / 0.602 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of SimCode: time 3.11e-07/0.007291, allocations: 0 / 0.602 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of Templates: time 0.00232/0.009611, allocations: 1.363 MB / 0.6033 GB, free: 10.25 MB / 0.5261 GB " [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.69086634228006]