Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2.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.0009956/0.0009956, 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.001118/0.001118, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.73 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.35/1.35, 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.DevModels.Paracetamol.ParacetamolEquations2,fileNamePrefix="Pharmacolibrary_Pharmacolibrary_DevModels_Paracetamol_ParacetamolEquations2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2,fileNamePrefix="Pharmacolibrary_Pharmacolibrary_DevModels_Paracetamol_ParacetamolEquations2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.7553 GB, free: 10.42 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.874e-05/2.049e-05, allocations: 4.812 kB / 0.7553 GB, free: 10.42 MB / 0.5887 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2): time 0.001347/0.001368, allocations: 0.5148 MB / 0.7558 GB, free: 9.918 MB / 0.5887 GB Notification: Performance of NFInst.instExpressions: time 0.0001595/0.001527, allocations: 25.22 kB / 0.7558 GB, free: 9.895 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.463e-05/0.001552, allocations: 4 kB / 0.7558 GB, free: 9.891 MB / 0.5887 GB Notification: Performance of NFTyping.typeComponents: time 1.334e-05/0.001565, allocations: 0 / 0.7558 GB, free: 9.891 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 2.46e-05/0.00159, allocations: 3.938 kB / 0.7558 GB, free: 9.887 MB / 0.5887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001332/0.001723, allocations: 4 kB / 0.7558 GB, free: 9.883 MB / 0.5887 GB Notification: Performance of NFFlatten.flatten: time 5.616e-05/0.001779, allocations: 18.61 kB / 0.7559 GB, free: 9.867 MB / 0.5887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.928e-05/0.001828, allocations: 3.984 kB / 0.7559 GB, free: 9.863 MB / 0.5887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.05e-05/0.001869, allocations: 9.188 kB / 0.7559 GB, free: 9.855 MB / 0.5887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.872e-05/0.001938, allocations: 5.312 kB / 0.7559 GB, free: 9.852 MB / 0.5887 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.001954, allocations: 4 kB / 0.7559 GB, free: 9.848 MB / 0.5887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.384e-06/0.001962, allocations: 0 / 0.7559 GB, free: 9.848 MB / 0.5887 GB Notification: Performance of NFScalarize.scalarize: time 1.395e-05/0.001975, allocations: 0 / 0.7559 GB, free: 9.848 MB / 0.5887 GB Notification: Performance of NFVerifyModel.verify: time 1.936e-05/0.001995, allocations: 9.297 kB / 0.7559 GB, free: 9.84 MB / 0.5887 GB Notification: Performance of NFConvertDAE.convert: time 5.76e-05/0.002052, allocations: 9.5 kB / 0.7559 GB, free: 9.832 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.002054, allocations: 0 / 0.7559 GB, free: 9.832 MB / 0.5887 GB Notification: Performance of FrontEnd: time 1.002e-06/0.002055, allocations: 8 kB / 0.7559 GB, free: 9.824 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 3.566e-06/0.002059, allocations: 0 / 0.7559 GB, free: 9.824 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003058/0.002365, allocations: 250.4 kB / 0.7561 GB, free: 9.547 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.00241, allocations: 12.03 kB / 0.7562 GB, free: 9.535 MB / 0.5887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.316e-05/0.002443, allocations: 34.75 kB / 0.7562 GB, free: 9.492 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.899e-05/0.002462, allocations: 0.9375 kB / 0.7562 GB, free: 9.492 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.363e-05/0.002536, allocations: 109.7 kB / 0.7563 GB, free: 9.359 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.002544, allocations: 384 / 0.7563 GB, free: 9.359 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.002563, allocations: 4.375 kB / 0.7563 GB, free: 9.355 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.061e-05/0.002644, allocations: 46.12 kB / 0.7563 GB, free: 9.305 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-06/0.002651, allocations: 5.609 kB / 0.7563 GB, free: 9.301 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.002658, allocations: 384 / 0.7563 GB, free: 9.301 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.002664, allocations: 4.125 kB / 0.7564 GB, free: 9.297 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.388e-05/0.002698, allocations: 7.984 kB / 0.7564 GB, free: 9.289 MB / 0.5887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002191/0.002917, allocations: 136.8 kB / 0.7565 GB, free: 9.113 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 9.31e-05/0.00301, allocations: 34.52 kB / 0.7565 GB, free: 9.07 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.045e-05/0.00303, allocations: 17 kB / 0.7565 GB, free: 9.051 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.765e-06/0.003038, allocations: 4 kB / 0.7565 GB, free: 9.047 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.605e-05/0.003054, allocations: 34.56 kB / 0.7566 GB, free: 9.004 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.003055, allocations: 4 kB / 0.7566 GB, free: 9 MB / 0.5887 GB Notification: Performance of matching and sorting (n=3): time 0.0001174/0.003173, allocations: 49.69 kB / 0.7566 GB, free: 8.945 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.003199, allocations: 59.34 kB / 0.7567 GB, free: 8.875 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.617e-05/0.003245, allocations: 101.3 kB / 0.7568 GB, free: 8.77 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.003256, allocations: 31.02 kB / 0.7568 GB, free: 8.734 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 2.594e-05/0.003282, allocations: 80.14 kB / 0.7569 GB, free: 8.652 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.003306, allocations: 11.91 kB / 0.7569 GB, free: 8.641 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.544e-05/0.003332, allocations: 21.66 kB / 0.7569 GB, free: 8.613 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 7.994e-05/0.003412, allocations: 318.8 kB / 0.7572 GB, free: 8.293 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.4e-05/0.003426, allocations: 4 kB / 0.7572 GB, free: 8.289 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.221e-05/0.003438, allocations: 8 kB / 0.7572 GB, free: 8.281 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.538e-05/0.003473, allocations: 24.86 kB / 0.7573 GB, free: 8.254 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.003475, allocations: 0 / 0.7573 GB, free: 8.254 MB / 0.5887 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.089e-05/0.003526, allocations: 53.69 kB / 0.7573 GB, free: 8.195 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.003537, allocations: 6.812 kB / 0.7573 GB, free: 8.191 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.003541, allocations: 0 / 0.7573 GB, free: 8.191 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/0.00355, allocations: 5.312 kB / 0.7573 GB, free: 8.188 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.069e-05/0.003581, allocations: 11.88 kB / 0.7573 GB, free: 8.176 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.003586, allocations: 0 / 0.7573 GB, free: 8.176 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.137e-05/0.003597, allocations: 4 kB / 0.7573 GB, free: 8.172 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-06/0.0036, allocations: 0 / 0.7573 GB, free: 8.172 MB / 0.5887 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 5.286e-05/0.003653, allocations: 117.8 kB / 0.7574 GB, free: 8.047 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.631e-06/0.003659, allocations: 7.953 kB / 0.7575 GB, free: 8.039 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.685e-05/0.003676, allocations: 3.688 kB / 0.7575 GB, free: 8.031 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.003677, allocations: 0 / 0.7575 GB, free: 8.031 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.003682, allocations: 3.938 kB / 0.7575 GB, free: 8.027 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.003684, allocations: 0 / 0.7575 GB, free: 8.027 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.338e-05/0.003778, allocations: 132.8 kB / 0.7576 GB, free: 7.855 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.003778, allocations: 1.312 kB / 0.7576 GB, free: 7.855 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.365e-05/0.003802, allocations: 4 kB / 0.7576 GB, free: 7.852 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-06/0.003803, allocations: 0 / 0.7576 GB, free: 7.852 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.00381, allocations: 4.188 kB / 0.7576 GB, free: 7.848 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.003812, allocations: 15.94 kB / 0.7576 GB, free: 7.832 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.003814, allocations: 3.938 kB / 0.7576 GB, free: 7.828 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.223e-05/0.003906, allocations: 81.08 kB / 0.7577 GB, free: 7.73 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-06/0.003911, allocations: 4 kB / 0.7577 GB, free: 7.727 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.295e-06/0.003919, allocations: 0 / 0.7577 GB, free: 7.727 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.965e-06/0.003927, allocations: 0 / 0.7577 GB, free: 7.727 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.748e-05/0.003944, allocations: 7.938 kB / 0.7577 GB, free: 7.719 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.003947, allocations: 3.984 kB / 0.7577 GB, free: 7.715 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 2.247e-05/0.003969, allocations: 80.59 kB / 0.7578 GB, free: 7.637 MB / 0.5887 GB Notification: Performance of sort global known variables: time 5e-08/0.00397, allocations: 0 / 0.7578 GB, free: 7.637 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.0001216/0.004091, allocations: 4.062 kB / 0.7578 GB, free: 7.633 MB / 0.5887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Gut,Central) * 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 (3): * Single equations (assignments): 3 * 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.0002298/0.004321, allocations: 0.6275 MB / 0.7584 GB, free: 6.98 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 6.537e-05/0.004386, allocations: 16 kB / 0.7584 GB, free: 6.965 MB / 0.5887 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.004388, allocations: 0 / 0.7584 GB, free: 6.965 MB / 0.5887 GB Notification: Performance of simCode: created simulation system equations: time 9.297e-06/0.004397, allocations: 8 kB / 0.7584 GB, free: 6.957 MB / 0.5887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001023/0.004499, allocations: 10.5 kB / 0.7584 GB, free: 6.949 MB / 0.5887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008521/0.005351, allocations: 1.157 MB / 0.7596 GB, free: 5.707 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.636e-05/0.005398, allocations: 63.34 kB / 0.7596 GB, free: 5.625 MB / 0.5887 GB Notification: Performance of simCode: alias equations: time 1.962e-05/0.005417, allocations: 9.375 kB / 0.7596 GB, free: 5.617 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.593e-05/0.005453, allocations: 12.5 kB / 0.7596 GB, free: 5.605 MB / 0.5887 GB Notification: Performance of SimCode: time 8.62e-07/0.005454, allocations: 0 / 0.7596 GB, free: 5.605 MB / 0.5887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07628/0.08173, allocations: 1.82 MB / 0.7614 GB, free: 3.969 MB / 0.5887 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.646/7.728, allocations: 14.48 kB / 0.7614 GB, free: 3.957 MB / 0.5887 GB " [Timeout remaining time 652] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Pharmacolibrary_Pharmacolibrary_DevModels_Paracetamol_ParacetamolEquations2_fmu --startTime=0 --stopTime=86400 --stepSize=8.64 --timeout=50 --tolerance=1e-06 ../Pharmacolibrary_Pharmacolibrary_DevModels_Paracetamol_ParacetamolEquations2.fmu) > Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2.pipe 2>&1) [Timeout 52.5] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2_fmpy.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2_fmpy.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2_fmpy_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8.64 ../Pharmacolibrary_Pharmacolibrary_DevModels_Paracetamol_ParacetamolEquations2.fmu) > Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.647819245234132]