Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.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.0008684/0.0008684, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001673/0.001673, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9668/0.9668, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.325/1.325, allocations: 273.5 MB / 0.5202 GB, free: 14.96 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: "" <> buildModelFMU(Pharmacolibrary.Examples.PK_1C_GentamicineSimple,fileNamePrefix="Pharmacolibrary_Pharmacolibrary_Examples_PK_1C_GentamicineSimple",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Pharmacolibrary.Examples.PK_1C_GentamicineSimple,fileNamePrefix="Pharmacolibrary_Pharmacolibrary_Examples_PK_1C_GentamicineSimple",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.7553 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.344e-05, allocations: 4.531 kB / 0.7553 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicineSimple): time 0.002077/0.002101, allocations: 1.678 MB / 0.7569 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0002598/0.002361, allocations: 87.75 kB / 0.757 GB, free: 9.137 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.839e-05/0.002419, allocations: 0 / 0.757 GB, free: 9.137 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.00253, allocations: 11.86 kB / 0.757 GB, free: 9.125 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.002632, allocations: 29.53 kB / 0.7571 GB, free: 9.105 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 9.203e-05/0.002724, allocations: 23.91 kB / 0.7571 GB, free: 9.082 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.002868, allocations: 87.75 kB / 0.7572 GB, free: 9.023 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.002974, allocations: 12.17 kB / 0.7572 GB, free: 9.012 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 5.97e-05/0.003033, allocations: 38.59 kB / 0.7572 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.986e-05/0.003103, allocations: 26.03 kB / 0.7572 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.003124, allocations: 8 kB / 0.7573 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.239e-05/0.003137, allocations: 9.531 kB / 0.7573 GB, free: 8.938 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.166e-05/0.003158, allocations: 9.312 kB / 0.7573 GB, free: 8.93 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.37e-05/0.003202, allocations: 26.61 kB / 0.7573 GB, free: 8.906 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.003311, allocations: 70.36 kB / 0.7574 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.003314, allocations: 0 / 0.7574 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of FrontEnd: time 8.21e-07/0.003314, allocations: 0 / 0.7574 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.003319, allocations: 7.938 kB / 0.7574 GB, free: 8.832 MB / 0.6355 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.0004194/0.003738, allocations: 313.1 kB / 0.7577 GB, free: 8.492 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.003781, allocations: 12.03 kB / 0.7577 GB, free: 8.48 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.235e-05/0.003813, allocations: 38.73 kB / 0.7577 GB, free: 8.434 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.667e-05/0.00384, allocations: 12.89 kB / 0.7577 GB, free: 8.422 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.003967, allocations: 125.7 kB / 0.7579 GB, free: 8.273 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.003979, allocations: 11.84 kB / 0.7579 GB, free: 8.266 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.003999, allocations: 4.375 kB / 0.7579 GB, free: 8.262 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.004129, allocations: 99.94 kB / 0.758 GB, free: 8.152 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.004143, allocations: 7.891 kB / 0.758 GB, free: 8.145 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.004153, allocations: 4 kB / 0.758 GB, free: 8.141 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.004158, allocations: 4 kB / 0.758 GB, free: 8.137 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.52e-05/0.004243, allocations: 73.66 kB / 0.7581 GB, free: 8.059 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003661/0.004609, allocations: 280.3 kB / 0.7583 GB, free: 7.742 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.004721, allocations: 100.2 kB / 0.7584 GB, free: 7.629 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.423e-05/0.004765, allocations: 54.73 kB / 0.7585 GB, free: 7.566 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-06/0.004773, allocations: 7.938 kB / 0.7585 GB, free: 7.559 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000191/0.004964, allocations: 161.2 kB / 0.7586 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 1.883e-06/0.004966, allocations: 0 / 0.7586 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0006634/0.00563, allocations: 492.7 kB / 0.7591 GB, free: 6.828 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.005684, allocations: 140.4 kB / 0.7592 GB, free: 6.66 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.661e-05/0.005751, allocations: 117.8 kB / 0.7593 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.005761, allocations: 25.7 kB / 0.7594 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.952e-05/0.005791, allocations: 96.09 kB / 0.7595 GB, free: 6.406 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.005825, allocations: 43.62 kB / 0.7595 GB, free: 6.363 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.993e-05/0.005865, allocations: 33.7 kB / 0.7595 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.006015, allocations: 318.8 kB / 0.7598 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.373e-05/0.006089, allocations: 70.77 kB / 0.7599 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.215e-05/0.006171, allocations: 92.61 kB / 0.76 GB, free: 5.812 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000352/0.006523, allocations: 265.7 kB / 0.7602 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.006526, allocations: 4 kB / 0.7602 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001879/0.006714, allocations: 196.9 kB / 0.7604 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.327e-05/0.006747, allocations: 29.7 kB / 0.7605 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.006755, allocations: 7.984 kB / 0.7605 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.00677, allocations: 0 / 0.7605 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.006877, allocations: 23.94 kB / 0.7605 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.006887, allocations: 8.297 kB / 0.7605 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.631e-05/0.006933, allocations: 11.94 kB / 0.7605 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.006942, allocations: 15.88 kB / 0.7605 GB, free: 5.199 MB / 0.6355 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.0001674/0.00711, allocations: 167 kB / 0.7607 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.343e-05/0.007123, allocations: 7.953 kB / 0.7607 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.961e-05/0.007153, allocations: 8.438 kB / 0.7607 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.007156, allocations: 7.422 kB / 0.7607 GB, free: 5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.007162, allocations: 4 kB / 0.7607 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.007166, allocations: 0 / 0.7607 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003605/0.007527, allocations: 433 kB / 0.7611 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.007529, allocations: 0 / 0.7611 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.775e-05/0.007606, allocations: 23.92 kB / 0.7612 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.00761, allocations: 0 / 0.7612 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.007623, allocations: 8 kB / 0.7612 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.007626, allocations: 3.938 kB / 0.7612 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.007628, allocations: 0 / 0.7612 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002648/0.007893, allocations: 355.3 kB / 0.7615 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.378e-05/0.007906, allocations: 11.98 kB / 0.7615 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.007924, allocations: 4 kB / 0.7615 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.447e-05/0.007968, allocations: 11.88 kB / 0.7615 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/0.00801, allocations: 7.984 kB / 0.7615 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.008016, allocations: 4 kB / 0.7615 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.201e-05/0.008048, allocations: 83.59 kB / 0.7616 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.008048, allocations: 0 / 0.7616 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001685/0.008217, allocations: 28 kB / 0.7616 GB, free: 3.949 MB / 0.6355 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 0.0004008/0.008618, allocations: 0.8933 MB / 0.7625 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001804/0.008798, allocations: 198.8 kB / 0.7627 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.008799, allocations: 3.938 kB / 0.7627 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.274e-05/0.008872, allocations: 133 kB / 0.7628 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.009113, allocations: 28.14 kB / 0.7629 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.01061, allocations: 1.88 MB / 0.7647 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.26e-05/0.01067, allocations: 87.19 kB / 0.7648 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.572e-05/0.01071, allocations: 8.484 kB / 0.7648 GB, free: 496 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.819e-05/0.01076, allocations: 28.5 kB / 0.7648 GB, free: 468 kB / 0.6355 GB Notification: Performance of SimCode: time 1.052e-06/0.01076, allocations: 0 / 0.7648 GB, free: 468 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0848/0.09556, allocations: 3.251 MB / 0.768 GB, free: 13.45 MB / 0.6512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.23/7.326, allocations: 8.062 kB / 0.768 GB, free: 13.44 MB / 0.6512 GB " [Timeout remaining time 653] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Pharmacolibrary_Pharmacolibrary_Examples_PK_1C_GentamicineSimple_fmu --startTime=0 --stopTime=86400 --stepSize=173.146 --timeout=50 --tolerance=1e-06 ../Pharmacolibrary_Pharmacolibrary_Examples_PK_1C_GentamicineSimple.fmu) > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.pipe 2>&1) [Timeout 52.5] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple_fmpy.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple_fmpy.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple_fmpy_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 173.146 ../Pharmacolibrary_Pharmacolibrary_Examples_PK_1C_GentamicineSimple.fmu) > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.266361236572266]