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.002257/0.002257, allocations: 109.5 kB / 18.95 MB, free: 1.18 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.002666/0.002666, allocations: 217.7 kB / 22.25 MB, free: 3.578 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 1.714/1.714, allocations: 230.6 MB / 256 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 178] 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 3.8/3.8, allocations: 335.3 MB / 0.6325 GB, free: 7.273 MB / 442.7 MB " [Timeout remaining time 176] 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.DevModels.Paracetamol.AcetaminophenEquations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations") translateModel(Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations") [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.003866/0.003866, allocations: 71.91 kB / 0.868 GB, free: 5.816 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2503, allocations: 112.8 MB / 0.9782 GB, free: 4.73 MB / 0.6824 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations): time 0.002505/0.2529, allocations: 1.26 MB / 0.9794 GB, free: 3.461 MB / 0.6824 GB Notification: Performance of NFInst.instExpressions: time 0.0001823/0.253, allocations: 39.83 kB / 0.9795 GB, free: 3.422 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.033e-05/0.2531, allocations: 0 / 0.9795 GB, free: 3.422 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 1.5e-05/0.2531, allocations: 4 kB / 0.9795 GB, free: 3.418 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 5.824e-05/0.2531, allocations: 3.938 kB / 0.9795 GB, free: 3.414 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001297/0.2533, allocations: 15.97 kB / 0.9795 GB, free: 3.398 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 6.759e-05/0.2533, allocations: 23.92 kB / 0.9795 GB, free: 3.375 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 4.063e-05/0.2534, allocations: 3.938 kB / 0.9795 GB, free: 3.371 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 3.082e-05/0.2534, allocations: 11.98 kB / 0.9795 GB, free: 3.359 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 9.317e-05/0.2535, allocations: 15.92 kB / 0.9795 GB, free: 3.344 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.2535, allocations: 0 / 0.9795 GB, free: 3.344 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 1.169e-05/0.2535, allocations: 4 kB / 0.9795 GB, free: 3.34 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 1.349e-05/0.2535, allocations: 0 / 0.9795 GB, free: 3.34 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 3.746e-05/0.2536, allocations: 23.91 kB / 0.9796 GB, free: 3.316 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 6.148e-05/0.2536, allocations: 11.92 kB / 0.9796 GB, free: 3.305 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2536, allocations: 0 / 0.9796 GB, free: 3.305 MB / 0.6824 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2536, allocations: 0 / 0.9796 GB, free: 3.305 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.2536, allocations: 0 / 0.9796 GB, free: 3.305 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004943/0.2541, allocations: 270.3 kB / 0.9798 GB, free: 3.008 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.2542, allocations: 18.05 kB / 0.9799 GB, free: 2.992 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.72e-05/0.2542, allocations: 0.9375 kB / 0.9799 GB, free: 2.992 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.2543, allocations: 122.4 kB / 0.98 GB, free: 2.848 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.2544, allocations: 4.375 kB / 0.98 GB, free: 2.844 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.2544, allocations: 8.375 kB / 0.98 GB, free: 2.836 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.2545, allocations: 59.95 kB / 0.98 GB, free: 2.766 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.2545, allocations: 192 / 0.98 GB, free: 2.766 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.2546, allocations: 7.938 kB / 0.98 GB, free: 2.758 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2546, allocations: 0 / 0.98 GB, free: 2.758 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.997e-05/0.2546, allocations: 19.92 kB / 0.9801 GB, free: 2.738 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000341/0.255, allocations: 272.8 kB / 0.9803 GB, free: 2.438 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 9.794e-05/0.2551, allocations: 34.56 kB / 0.9804 GB, free: 2.395 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.414e-05/0.2551, allocations: 16.8 kB / 0.9804 GB, free: 2.375 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.2551, allocations: 4 kB / 0.9804 GB, free: 2.371 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.2552, allocations: 38.53 kB / 0.9804 GB, free: 2.324 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.2552, allocations: 4 kB / 0.9804 GB, free: 2.32 MB / 0.6824 GB Notification: Performance of matching and sorting (n=4): time 0.0002192/0.2554, allocations: 61.62 kB / 0.9805 GB, free: 2.254 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/0.2554, allocations: 51.41 kB / 0.9805 GB, free: 2.191 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.2556, allocations: 113.8 kB / 0.9806 GB, free: 2.07 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.2556, allocations: 25.7 kB / 0.9807 GB, free: 2.039 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 6.577e-05/0.2556, allocations: 88.08 kB / 0.9807 GB, free: 1.949 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.2557, allocations: 19.84 kB / 0.9808 GB, free: 1.93 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.071e-05/0.2557, allocations: 17.72 kB / 0.9808 GB, free: 1.906 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.2559, allocations: 318.8 kB / 0.9811 GB, free: 1.586 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.314e-05/0.2559, allocations: 12 kB / 0.9811 GB, free: 1.574 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.2e-05/0.256, allocations: 29.64 kB / 0.9811 GB, free: 1.539 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.284e-05/0.2561, allocations: 29.72 kB / 0.9812 GB, free: 1.504 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.2561, allocations: 3.984 kB / 0.9812 GB, free: 1.5 MB / 0.6824 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000141/0.2562, allocations: 73.56 kB / 0.9812 GB, free: 1.422 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.2562, allocations: 4 kB / 0.9812 GB, free: 1.418 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.2562, allocations: 0 / 0.9812 GB, free: 1.418 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.2562, allocations: 8.031 kB / 0.9812 GB, free: 1.41 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.2563, allocations: 16.17 kB / 0.9813 GB, free: 1.395 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.2564, allocations: 0 / 0.9813 GB, free: 1.395 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.775e-05/0.2564, allocations: 11.95 kB / 0.9813 GB, free: 1.383 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.2564, allocations: 192 / 0.9813 GB, free: 1.383 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 (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 8.991e-05/0.2565, allocations: 119.5 kB / 0.9814 GB, free: 1.262 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.2565, allocations: 3.938 kB / 0.9814 GB, free: 1.258 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001734/0.2567, allocations: 77.59 kB / 0.9815 GB, free: 1.168 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2567, allocations: 0 / 0.9815 GB, free: 1.168 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.2567, allocations: 0 / 0.9815 GB, free: 1.168 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.2567, allocations: 4 kB / 0.9815 GB, free: 1.164 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.2569, allocations: 117.2 kB / 0.9816 GB, free: 1.02 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.2569, allocations: 0 / 0.9816 GB, free: 1.02 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.93e-05/0.257, allocations: 19.92 kB / 0.9816 GB, free: 1 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.257, allocations: 0 / 0.9816 GB, free: 1 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.257, allocations: 4 kB / 0.9816 GB, free: 0.9961 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.257, allocations: 0 / 0.9816 GB, free: 0.9961 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.257, allocations: 4 kB / 0.9816 GB, free: 0.9922 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001822/0.2572, allocations: 151.5 kB / 0.9817 GB, free: 0.8281 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 1.422e-05/0.2572, allocations: 7.891 kB / 0.9817 GB, free: 0.8203 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.2572, allocations: 8 kB / 0.9818 GB, free: 0.8125 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.678e-05/0.2573, allocations: 3.984 kB / 0.9818 GB, free: 0.8086 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.2573, allocations: 4 kB / 0.9818 GB, free: 0.8047 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.2573, allocations: 4 kB / 0.9818 GB, free: 0.8008 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 6.223e-05/0.2574, allocations: 87.27 kB / 0.9819 GB, free: 0.7148 MB / 0.6824 GB Notification: Performance of sort global known variables: time 8e-08/0.2574, allocations: 3.938 kB / 0.9819 GB, free: 0.7109 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0002093/0.2576, allocations: 8 kB / 0.9819 GB, free: 0.7031 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 (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.0001002/0.2577, allocations: 95.25 kB / 0.982 GB, free: 0.6016 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0001304/0.2578, allocations: 27.92 kB / 0.982 GB, free: 0.5742 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2578, allocations: 8.062 kB / 0.982 GB, free: 0.5664 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 4.175e-05/0.2578, allocations: 12 kB / 0.982 GB, free: 0.5547 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.2581, allocations: 8.359 kB / 0.982 GB, free: 0.5469 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005847/0.2587, allocations: 121.5 kB / 0.9821 GB, free: 412 kB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.191e-05/0.2587, allocations: 63.34 kB / 0.9822 GB, free: 328 kB / 0.6824 GB Notification: Performance of simCode: alias equations: time 2.724e-05/0.2588, allocations: 4 kB / 0.9822 GB, free: 324 kB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.904e-05/0.2588, allocations: 11.38 kB / 0.9822 GB, free: 312 kB / 0.6824 GB Notification: Performance of SimCode: time 8.62e-07/0.2588, allocations: 4 kB / 0.9822 GB, free: 308 kB / 0.6824 GB Notification: Performance of Templates: time 0.003251/0.2621, allocations: 0.496 MB / 0.9827 GB, free: 15.81 MB / 0.698 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations.makefile [Timeout 660] (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 & ./Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.270009362138808]