Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.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.000798/0.000798, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0008161/0.0008161, allocations: 215.6 kB / 22.25 MB, free: 3.582 MB / 13.93 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.9812/0.9812, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.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.476/1.476, allocations: 334.3 MB / 0.6315 GB, free: 8 MB / 442.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.Systems.PKOneCompartmentEquations,fileNamePrefix="Pharmacolibrary_Pharmacolibrary_DevModels_Systems_PKOneCompartmentEquations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations,fileNamePrefix="Pharmacolibrary_Pharmacolibrary_DevModels_Systems_PKOneCompartmentEquations",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009485/0.0009485, allocations: 67.91 kB / 0.8666 GB, free: 7.953 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2054, allocations: 112.8 MB / 0.9767 GB, free: 6.875 MB / 0.6824 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations): time 0.00194/0.2073, allocations: 1.268 MB / 0.978 GB, free: 5.598 MB / 0.6824 GB Notification: Performance of NFInst.instExpressions: time 0.0002288/0.2075, allocations: 51.78 kB / 0.978 GB, free: 5.547 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.739e-05/0.2076, allocations: 0 / 0.978 GB, free: 5.547 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 8.142e-05/0.2077, allocations: 3.938 kB / 0.978 GB, free: 5.543 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 3.954e-05/0.2077, allocations: 0 / 0.978 GB, free: 5.543 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001695/0.2079, allocations: 23.91 kB / 0.978 GB, free: 5.52 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 9.617e-05/0.208, allocations: 23.92 kB / 0.9781 GB, free: 5.496 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 6.003e-05/0.208, allocations: 8 kB / 0.9781 GB, free: 5.488 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 6.582e-05/0.2081, allocations: 15.92 kB / 0.9781 GB, free: 5.473 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.2082, allocations: 19.91 kB / 0.9781 GB, free: 5.453 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.2082, allocations: 0 / 0.9781 GB, free: 5.453 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 9.909e-06/0.2082, allocations: 0 / 0.9781 GB, free: 5.453 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 2.288e-05/0.2082, allocations: 0 / 0.9781 GB, free: 5.453 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 3.44e-05/0.2083, allocations: 11.92 kB / 0.9781 GB, free: 5.441 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 8.095e-05/0.2084, allocations: 15.92 kB / 0.9781 GB, free: 5.426 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2084, allocations: 0 / 0.9781 GB, free: 5.426 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.365e-06/0.2084, allocations: 0 / 0.9781 GB, free: 5.426 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.2084, allocations: 8 kB / 0.9781 GB, free: 5.418 MB / 0.6824 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.000422/0.2088, allocations: 274.2 kB / 0.9784 GB, free: 5.117 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.2088, allocations: 10.11 kB / 0.9784 GB, free: 5.109 MB / 0.6824 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.994e-05/0.2089, allocations: 30.75 kB / 0.9784 GB, free: 5.07 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.617e-05/0.2089, allocations: 8.891 kB / 0.9785 GB, free: 5.062 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.209, allocations: 122.4 kB / 0.9786 GB, free: 4.918 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.209, allocations: 384 / 0.9786 GB, free: 4.918 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.375e-06/0.209, allocations: 384 / 0.9786 GB, free: 4.918 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.2092, allocations: 55.95 kB / 0.9786 GB, free: 4.852 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.2092, allocations: 7.938 kB / 0.9786 GB, free: 4.844 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.2092, allocations: 0 / 0.9786 GB, free: 4.844 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.2092, allocations: 0 / 0.9786 GB, free: 4.844 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.987e-05/0.2092, allocations: 11.94 kB / 0.9786 GB, free: 4.832 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003055/0.2095, allocations: 308.1 kB / 0.9789 GB, free: 4.484 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 5.896e-05/0.2096, allocations: 26.52 kB / 0.979 GB, free: 4.449 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.274e-05/0.2096, allocations: 12.91 kB / 0.979 GB, free: 4.434 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.2096, allocations: 0 / 0.979 GB, free: 4.434 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.2097, allocations: 30.56 kB / 0.979 GB, free: 4.395 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.2097, allocations: 0 / 0.979 GB, free: 4.395 MB / 0.6824 GB Notification: Performance of matching and sorting (n=1): time 0.0001515/0.2098, allocations: 49.62 kB / 0.9791 GB, free: 4.34 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.2098, allocations: 55.41 kB / 0.9791 GB, free: 4.273 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.706e-05/0.2099, allocations: 113.8 kB / 0.9792 GB, free: 4.152 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.2099, allocations: 25.7 kB / 0.9792 GB, free: 4.121 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 4.298e-05/0.21, allocations: 88.09 kB / 0.9793 GB, free: 4.031 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 7.444e-06/0.21, allocations: 3.953 kB / 0.9793 GB, free: 4.027 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.506e-05/0.21, allocations: 17.7 kB / 0.9793 GB, free: 4.004 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 7.321e-05/0.2101, allocations: 314.8 kB / 0.9796 GB, free: 3.688 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.258e-05/0.2101, allocations: 4 kB / 0.9796 GB, free: 3.684 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.301e-05/0.2101, allocations: 25.83 kB / 0.9797 GB, free: 3.652 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.881e-05/0.2102, allocations: 25.59 kB / 0.9797 GB, free: 3.621 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2102, allocations: 0 / 0.9797 GB, free: 3.621 MB / 0.6824 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.104e-05/0.2102, allocations: 49.62 kB / 0.9797 GB, free: 3.566 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.2102, allocations: 8 kB / 0.9798 GB, free: 3.559 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.2102, allocations: 7.922 kB / 0.9798 GB, free: 3.551 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.2103, allocations: 0 / 0.9798 GB, free: 3.551 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.38e-05/0.2103, allocations: 8.125 kB / 0.9798 GB, free: 3.543 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.2103, allocations: 4 kB / 0.9798 GB, free: 3.539 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.923e-05/0.2103, allocations: 0 / 0.9798 GB, free: 3.539 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-06/0.2103, allocations: 4 kB / 0.9798 GB, free: 3.535 MB / 0.6824 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 (2): * Single equations (assignments): 2 * 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.099e-05/0.2104, allocations: 113.8 kB / 0.9799 GB, free: 3.414 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.364e-05/0.2104, allocations: 7.953 kB / 0.9799 GB, free: 3.406 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.2105, allocations: 65.03 kB / 0.98 GB, free: 3.332 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.2105, allocations: 0 / 0.98 GB, free: 3.332 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2105, allocations: 0 / 0.98 GB, free: 3.332 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2105, allocations: 32 / 0.98 GB, free: 3.332 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.2106, allocations: 136.7 kB / 0.9801 GB, free: 3.156 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.2106, allocations: 384 / 0.9801 GB, free: 3.156 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.438e-05/0.2107, allocations: 7.984 kB / 0.9801 GB, free: 3.148 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2107, allocations: 0 / 0.9801 GB, free: 3.148 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.2107, allocations: 0 / 0.9801 GB, free: 3.148 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2107, allocations: 3.938 kB / 0.9801 GB, free: 3.145 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2107, allocations: 0 / 0.9801 GB, free: 3.145 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.224e-05/0.2108, allocations: 143.5 kB / 0.9802 GB, free: 2.988 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 1.165e-05/0.2108, allocations: 7.953 kB / 0.9802 GB, free: 2.98 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.879e-06/0.2108, allocations: 4.031 kB / 0.9802 GB, free: 2.977 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.154e-05/0.2108, allocations: 0 / 0.9802 GB, free: 2.977 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.989e-05/0.2108, allocations: 11.92 kB / 0.9803 GB, free: 2.965 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.2108, allocations: 0 / 0.9803 GB, free: 2.965 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 8.629e-05/0.2109, allocations: 91.27 kB / 0.9803 GB, free: 2.875 MB / 0.6824 GB Notification: Performance of sort global known variables: time 6e-08/0.2109, allocations: 0 / 0.9803 GB, free: 2.875 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0001421/0.2111, allocations: 4 kB / 0.9803 GB, free: 2.871 MB / 0.6824 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 (2): * Single equations (assignments): 2 * 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.0002875/0.2114, allocations: 0.6718 MB / 0.981 GB, free: 2.176 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 9.881e-05/0.2115, allocations: 23.95 kB / 0.981 GB, free: 2.152 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2115, allocations: 0 / 0.981 GB, free: 2.152 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 1.588e-05/0.2115, allocations: 4 kB / 0.981 GB, free: 2.148 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.2117, allocations: 12 kB / 0.981 GB, free: 2.137 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000825/0.2125, allocations: 1.223 MB / 0.9822 GB, free: 0.8281 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.458e-05/0.2126, allocations: 67.5 kB / 0.9823 GB, free: 0.7422 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 2.656e-05/0.2126, allocations: 4.375 kB / 0.9823 GB, free: 0.7383 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.191e-05/0.2127, allocations: 19.42 kB / 0.9823 GB, free: 0.7188 MB / 0.6824 GB Notification: Performance of SimCode: time 9.21e-07/0.2127, allocations: 0 / 0.9823 GB, free: 0.7188 MB / 0.6824 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0846/0.2973, allocations: 1.877 MB / 0.9842 GB, free: 14.97 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.101/7.398, allocations: 15.92 kB / 0.9842 GB, free: 14.96 MB / 0.698 GB " [Timeout remaining time 653] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Pharmacolibrary_Pharmacolibrary_DevModels_Systems_PKOneCompartmentEquations_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=172.8 --timeout=50 --tolerance=1e-06 ../Pharmacolibrary_Pharmacolibrary_DevModels_Systems_PKOneCompartmentEquations.fmu) > Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.pipe 2>&1) [Timeout 52.5] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations_fmpy.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations_fmpy.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations_fmpy_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 172.8 ../Pharmacolibrary_Pharmacolibrary_DevModels_Systems_PKOneCompartmentEquations.fmu) > Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.681358475238085]