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.0008837/0.0008837, allocations: 84.53 kB / 19.93 MB, free: 4.609 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.0009215/0.0009215, allocations: 174.3 kB / 23.21 MB, free: 1.328 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.9726/0.9726, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.567/1.567, allocations: 273.5 MB / 0.5209 GB, free: 14.95 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.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.914e-06/1.914e-06, allocations: 0 / 0.7558 GB, free: 10.68 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.68e-05/2.871e-05, allocations: 2.281 kB / 0.7558 GB, free: 10.68 MB / 0.5887 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKOneCompartmentSimplestModel): time 0.002366/0.002395, allocations: 1.67 MB / 0.7574 GB, free: 9.012 MB / 0.5887 GB Notification: Performance of NFInst.instExpressions: time 0.0002939/0.002689, allocations: 83.69 kB / 0.7575 GB, free: 8.93 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.785e-05/0.002757, allocations: 4 kB / 0.7575 GB, free: 8.926 MB / 0.5887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.002889, allocations: 11.86 kB / 0.7575 GB, free: 8.914 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 0.000136/0.003025, allocations: 21.38 kB / 0.7575 GB, free: 8.902 MB / 0.5887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001187/0.003144, allocations: 27.84 kB / 0.7575 GB, free: 8.875 MB / 0.5887 GB Notification: Performance of NFFlatten.flatten: time 0.0002219/0.003366, allocations: 87.53 kB / 0.7576 GB, free: 8.816 MB / 0.5887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.003508, allocations: 8.172 kB / 0.7576 GB, free: 8.809 MB / 0.5887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.373e-05/0.003591, allocations: 45.92 kB / 0.7577 GB, free: 8.766 MB / 0.5887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.272e-05/0.003684, allocations: 27.92 kB / 0.7577 GB, free: 8.742 MB / 0.5887 GB Notification: Performance of NFPackage.collectConstants: time 2.643e-05/0.003711, allocations: 4 kB / 0.7577 GB, free: 8.738 MB / 0.5887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.95e-05/0.00373, allocations: 8 kB / 0.7577 GB, free: 8.73 MB / 0.5887 GB Notification: Performance of NFScalarize.scalarize: time 3.346e-05/0.003764, allocations: 14.59 kB / 0.7577 GB, free: 8.719 MB / 0.5887 GB Notification: Performance of NFVerifyModel.verify: time 6.062e-05/0.003824, allocations: 22.08 kB / 0.7577 GB, free: 8.699 MB / 0.5887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.003978, allocations: 66.59 kB / 0.7578 GB, free: 8.637 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.00398, allocations: 0 / 0.7578 GB, free: 8.637 MB / 0.5887 GB Notification: Performance of FrontEnd: time 2.044e-06/0.003982, allocations: 0 / 0.7578 GB, free: 8.637 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.003987, allocations: 0 / 0.7578 GB, free: 8.637 MB / 0.5887 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.0005589/0.004546, allocations: 327.8 kB / 0.7581 GB, free: 8.281 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/0.004602, allocations: 12.03 kB / 0.7581 GB, free: 8.27 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.496e-05/0.004647, allocations: 4.938 kB / 0.7581 GB, free: 8.266 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.004818, allocations: 125.7 kB / 0.7583 GB, free: 8.117 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.004835, allocations: 13.62 kB / 0.7583 GB, free: 8.105 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/0.004865, allocations: 4.375 kB / 0.7583 GB, free: 8.102 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.005048, allocations: 102.8 kB / 0.7584 GB, free: 7.992 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.005063, allocations: 192 / 0.7584 GB, free: 7.992 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.005082, allocations: 7.938 kB / 0.7584 GB, free: 7.984 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.005089, allocations: 4 kB / 0.7584 GB, free: 7.98 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.005213, allocations: 79.66 kB / 0.7585 GB, free: 7.898 MB / 0.5887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004534/0.005666, allocations: 260.3 kB / 0.7587 GB, free: 7.613 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.005819, allocations: 100.2 kB / 0.7588 GB, free: 7.5 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.807e-05/0.005887, allocations: 54.55 kB / 0.7588 GB, free: 7.438 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.005901, allocations: 0 / 0.7588 GB, free: 7.438 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001959/0.006097, allocations: 173.8 kB / 0.759 GB, free: 7.238 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=12): time 1.613e-06/0.006098, allocations: 0 / 0.759 GB, free: 7.238 MB / 0.5887 GB Notification: Performance of matching and sorting (n=13): time 0.0009076/0.007006, allocations: 495.8 kB / 0.7595 GB, free: 6.691 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.692e-05/0.007083, allocations: 133.3 kB / 0.7596 GB, free: 6.531 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.175e-05/0.007165, allocations: 105.8 kB / 0.7597 GB, free: 6.418 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.007182, allocations: 33.7 kB / 0.7597 GB, free: 6.379 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 4.375e-05/0.007225, allocations: 96.02 kB / 0.7598 GB, free: 6.281 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 4.06e-05/0.007266, allocations: 39.7 kB / 0.7599 GB, free: 6.242 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/0.007303, allocations: 29.7 kB / 0.7599 GB, free: 6.207 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.007406, allocations: 327.9 kB / 0.7602 GB, free: 5.879 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.399e-05/0.00747, allocations: 58.78 kB / 0.7603 GB, free: 5.809 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.922e-05/0.007549, allocations: 100.7 kB / 0.7604 GB, free: 5.691 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002712/0.00782, allocations: 266.7 kB / 0.7606 GB, free: 5.395 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.007821, allocations: 0 / 0.7606 GB, free: 5.395 MB / 0.5887 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001889/0.00801, allocations: 201.1 kB / 0.7608 GB, free: 5.18 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 3.156e-05/0.008042, allocations: 37.64 kB / 0.7609 GB, free: 5.137 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.008047, allocations: 0 / 0.7609 GB, free: 5.137 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.008062, allocations: 4 kB / 0.7609 GB, free: 5.133 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.008165, allocations: 23.98 kB / 0.7609 GB, free: 5.109 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.008175, allocations: 12.06 kB / 0.7609 GB, free: 5.098 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.867e-05/0.008213, allocations: 4 kB / 0.7609 GB, free: 5.094 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.008223, allocations: 7.422 kB / 0.7609 GB, free: 5.09 MB / 0.5887 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 0.0001602/0.008383, allocations: 161.3 kB / 0.7611 GB, free: 4.918 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.181e-05/0.008395, allocations: 11.95 kB / 0.7611 GB, free: 4.906 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.091e-05/0.008425, allocations: 16.42 kB / 0.7611 GB, free: 4.891 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.008427, allocations: 0 / 0.7611 GB, free: 4.891 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.008432, allocations: 0 / 0.7611 GB, free: 4.891 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.008436, allocations: 0 / 0.7611 GB, free: 4.891 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003474/0.008784, allocations: 409.5 kB / 0.7615 GB, free: 4.441 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.008785, allocations: 0 / 0.7615 GB, free: 4.441 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.356e-05/0.008859, allocations: 20.27 kB / 0.7615 GB, free: 4.422 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.008862, allocations: 0 / 0.7615 GB, free: 4.422 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.008875, allocations: 8.25 kB / 0.7615 GB, free: 4.414 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.008877, allocations: 7.938 kB / 0.7615 GB, free: 4.406 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.008878, allocations: 0 / 0.7615 GB, free: 4.406 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002671/0.009145, allocations: 364.4 kB / 0.7619 GB, free: 4.016 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 1.206e-05/0.009157, allocations: 11.98 kB / 0.7619 GB, free: 4.004 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.009176, allocations: 8 kB / 0.7619 GB, free: 3.996 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.689e-05/0.009212, allocations: 0 / 0.7619 GB, free: 3.996 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.751e-05/0.00926, allocations: 7.984 kB / 0.7619 GB, free: 3.988 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.00927, allocations: 11.94 kB / 0.7619 GB, free: 3.977 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 3.355e-05/0.009304, allocations: 79.28 kB / 0.762 GB, free: 3.898 MB / 0.5887 GB Notification: Performance of sort global known variables: time 6e-08/0.009304, allocations: 0 / 0.762 GB, free: 3.898 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.0001576/0.009461, allocations: 28 kB / 0.762 GB, free: 3.871 MB / 0.5887 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 9.833e-05/0.00956, allocations: 111.2 kB / 0.7621 GB, free: 3.75 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 0.0001837/0.009743, allocations: 201.4 kB / 0.7623 GB, free: 3.531 MB / 0.5887 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.009745, allocations: 0 / 0.7623 GB, free: 3.531 MB / 0.5887 GB Notification: Performance of simCode: created simulation system equations: time 8.188e-05/0.009827, allocations: 133 kB / 0.7624 GB, free: 3.383 MB / 0.5887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.01005, allocations: 19.98 kB / 0.7624 GB, free: 3.363 MB / 0.5887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005354/0.01058, allocations: 392 kB / 0.7628 GB, free: 2.949 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.183e-05/0.01065, allocations: 87.28 kB / 0.7629 GB, free: 2.844 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.081e-05/0.01068, allocations: 20.5 kB / 0.7629 GB, free: 2.824 MB / 0.5887 GB Notification: Performance of SimCode: time 8.21e-07/0.01068, allocations: 0 / 0.7629 GB, free: 2.824 MB / 0.5887 GB Notification: Performance of Templates: time 0.002301/0.01298, allocations: 1.243 MB / 0.7641 GB, free: 1.602 MB / 0.5887 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 > Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.648876613937318]