Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations.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.0007078/0.0007078, allocations: 76.44 kB / 19.17 MB, free: 0.7305 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.0007926/0.0007926, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.9647/0.9647, 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.426/1.426, allocations: 273.5 MB / 0.5202 GB, free: 14.98 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.DevModels.Paracetamol.AcetaminophenEquations,fileNamePrefix="Pharmacolibrary_Pharmacolibrary_DevModels_Paracetamol_AcetaminophenEquations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations,fileNamePrefix="Pharmacolibrary_Pharmacolibrary_DevModels_Paracetamol_AcetaminophenEquations",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.494e-06/2.494e-06, allocations: 1.203 kB / 0.7553 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.022e-05/2.271e-05, allocations: 2.281 kB / 0.7553 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations): time 0.002534/0.002556, allocations: 1.276 MB / 0.7566 GB, free: 9.668 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0001961/0.002752, allocations: 37.61 kB / 0.7566 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.684e-05/0.002789, allocations: 0 / 0.7566 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.234e-05/0.002812, allocations: 3.938 kB / 0.7566 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.401e-05/0.002886, allocations: 5.312 kB / 0.7566 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001636/0.003049, allocations: 15.92 kB / 0.7566 GB, free: 9.609 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.151e-05/0.003131, allocations: 27.8 kB / 0.7566 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.54e-05/0.003186, allocations: 1.312 kB / 0.7566 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.348e-05/0.00325, allocations: 17.3 kB / 0.7567 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.003363, allocations: 9.297 kB / 0.7567 GB, free: 9.562 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.003384, allocations: 0 / 0.7567 GB, free: 9.562 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.508e-06/0.003394, allocations: 4 kB / 0.7567 GB, free: 9.559 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.067e-05/0.003415, allocations: 5.297 kB / 0.7567 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.942e-05/0.003444, allocations: 13.52 kB / 0.7567 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 8.254e-05/0.003526, allocations: 21.22 kB / 0.7567 GB, free: 9.523 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.003529, allocations: 0 / 0.7567 GB, free: 9.523 MB / 0.6355 GB Notification: Performance of FrontEnd: time 6.42e-07/0.003529, allocations: 0 / 0.7567 GB, free: 9.523 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.003534, allocations: 0 / 0.7567 GB, free: 9.523 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004607/0.003994, allocations: 270.3 kB / 0.757 GB, free: 9.227 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.004047, allocations: 8.031 kB / 0.757 GB, free: 9.219 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.072e-05/0.004088, allocations: 34.73 kB / 0.757 GB, free: 9.176 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.701e-05/0.004115, allocations: 8.891 kB / 0.757 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.952e-05/0.004205, allocations: 103.1 kB / 0.7571 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.00423, allocations: 8.031 kB / 0.7571 GB, free: 9.039 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.004241, allocations: 8.375 kB / 0.7571 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.004394, allocations: 59.91 kB / 0.7572 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.004404, allocations: 4.172 kB / 0.7572 GB, free: 8.957 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.004414, allocations: 384 / 0.7572 GB, free: 8.957 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-06/0.004421, allocations: 4.125 kB / 0.7572 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.988e-05/0.004491, allocations: 19.98 kB / 0.7572 GB, free: 8.934 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003166/0.004808, allocations: 296.2 kB / 0.7575 GB, free: 8.598 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.131e-05/0.004899, allocations: 34.56 kB / 0.7575 GB, free: 8.555 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.838e-05/0.004938, allocations: 16.86 kB / 0.7575 GB, free: 8.535 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.004954, allocations: 15.88 kB / 0.7576 GB, free: 8.52 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.004978, allocations: 31.88 kB / 0.7576 GB, free: 8.48 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.004979, allocations: 0 / 0.7576 GB, free: 8.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002096/0.005189, allocations: 65.66 kB / 0.7577 GB, free: 8.41 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.005222, allocations: 55.41 kB / 0.7577 GB, free: 8.344 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.736e-05/0.005319, allocations: 109.8 kB / 0.7578 GB, free: 8.227 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.005331, allocations: 25.7 kB / 0.7578 GB, free: 8.195 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.007e-05/0.005391, allocations: 96.02 kB / 0.7579 GB, free: 8.098 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.419e-05/0.005405, allocations: 15.89 kB / 0.7579 GB, free: 8.082 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-05/0.005447, allocations: 17.72 kB / 0.758 GB, free: 8.059 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.005551, allocations: 318.8 kB / 0.7583 GB, free: 7.738 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.053e-05/0.005591, allocations: 11.98 kB / 0.7583 GB, free: 7.727 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.783e-05/0.005629, allocations: 25.7 kB / 0.7583 GB, free: 7.695 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.788e-05/0.005707, allocations: 39.3 kB / 0.7583 GB, free: 7.652 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.00571, allocations: 0 / 0.7583 GB, free: 7.652 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001216/0.005831, allocations: 69.56 kB / 0.7584 GB, free: 7.578 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.005846, allocations: 8 kB / 0.7584 GB, free: 7.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.005853, allocations: 0 / 0.7584 GB, free: 7.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.005869, allocations: 4.031 kB / 0.7584 GB, free: 7.566 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.005982, allocations: 15.94 kB / 0.7584 GB, free: 7.551 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.005991, allocations: 7.984 kB / 0.7584 GB, free: 7.543 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.949e-05/0.00603, allocations: 4 kB / 0.7584 GB, free: 7.539 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.138e-06/0.006039, allocations: 4 kB / 0.7584 GB, free: 7.535 MB / 0.6355 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 (6): * Single equations (assignments): 6 * 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 7.189e-05/0.006111, allocations: 105.8 kB / 0.7585 GB, free: 7.422 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.006136, allocations: 7.938 kB / 0.7586 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.006267, allocations: 65.67 kB / 0.7586 GB, free: 7.336 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.006269, allocations: 4 kB / 0.7586 GB, free: 7.332 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.006274, allocations: 0 / 0.7586 GB, free: 7.332 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.006277, allocations: 5.312 kB / 0.7586 GB, free: 7.328 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.006392, allocations: 136.6 kB / 0.7588 GB, free: 7.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.006393, allocations: 4.188 kB / 0.7588 GB, free: 7.148 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.05e-05/0.006434, allocations: 19.94 kB / 0.7588 GB, free: 7.129 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.155e-06/0.006437, allocations: 3.984 kB / 0.7588 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.006445, allocations: 4 kB / 0.7588 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.006446, allocations: 0 / 0.7588 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.006447, allocations: 0 / 0.7588 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.319e-05/0.00654, allocations: 155.3 kB / 0.7589 GB, free: 6.957 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.027e-05/0.006551, allocations: 7.891 kB / 0.7589 GB, free: 6.949 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.077e-06/0.00656, allocations: 4 kB / 0.7589 GB, free: 6.945 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.228e-05/0.006592, allocations: 4 kB / 0.7589 GB, free: 6.941 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.779e-05/0.00662, allocations: 5.297 kB / 0.759 GB, free: 6.938 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-06/0.006623, allocations: 4 kB / 0.759 GB, free: 6.934 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.233e-05/0.006655, allocations: 91.2 kB / 0.759 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.006655, allocations: 0 / 0.759 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001463/0.006801, allocations: 15.94 kB / 0.7591 GB, free: 6.828 MB / 0.6355 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 (5): * Single equations (assignments): 5 * 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 0.0002613/0.007063, allocations: 0.6789 MB / 0.7597 GB, free: 6.125 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.652e-05/0.007159, allocations: 35.92 kB / 0.7598 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.007161, allocations: 0 / 0.7598 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.371e-05/0.007184, allocations: 15.98 kB / 0.7598 GB, free: 6.074 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.00739, allocations: 4 kB / 0.7598 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003389/0.007729, allocations: 150.6 kB / 0.7599 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.74e-05/0.007776, allocations: 71.28 kB / 0.76 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.006e-05/0.007797, allocations: 1.312 kB / 0.76 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.644e-05/0.007833, allocations: 24.5 kB / 0.76 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of SimCode: time 8.12e-07/0.007834, allocations: 0 / 0.76 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07757/0.0854, allocations: 2.07 MB / 0.762 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.722/7.807, allocations: 6.906 kB / 0.762 GB, free: 3.898 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Pharmacolibrary_Pharmacolibrary_DevModels_Paracetamol_AcetaminophenEquations_fmu --startTime=0 --stopTime=3600 --stepSize=7.2 --timeout=50 --tolerance=1e-06 ../Pharmacolibrary_Pharmacolibrary_DevModels_Paracetamol_AcetaminophenEquations.fmu) > Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations.pipe 2>&1) [Timeout 52.5] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations_fmpy.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations_fmpy.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations_fmpy_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 7.2 ../Pharmacolibrary_Pharmacolibrary_DevModels_Paracetamol_AcetaminophenEquations.fmu) > Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.92220168095082]