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.001239/0.001239, allocations: 84.53 kB / 19.93 MB, free: 4.609 MB / 18.57 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.001253/0.001253, allocations: 173.9 kB / 23.21 MB, free: 1.328 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.9877/0.9877, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.69/1.69, allocations: 273.5 MB / 0.5209 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: 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: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 0.7558 GB, free: 10.7 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.177e-05/2.349e-05, allocations: 8.109 kB / 0.7558 GB, free: 10.69 MB / 0.5887 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations): time 0.001719/0.001742, allocations: 1.273 MB / 0.757 GB, free: 9.422 MB / 0.5887 GB Notification: Performance of NFInst.instExpressions: time 0.0001772/0.00192, allocations: 35.86 kB / 0.757 GB, free: 9.387 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.122e-05/0.001951, allocations: 1.312 kB / 0.7571 GB, free: 9.387 MB / 0.5887 GB Notification: Performance of NFTyping.typeComponents: time 2.389e-05/0.001975, allocations: 3.938 kB / 0.7571 GB, free: 9.383 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 6.682e-05/0.002041, allocations: 1.422 kB / 0.7571 GB, free: 9.383 MB / 0.5887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001528/0.002194, allocations: 15.92 kB / 0.7571 GB, free: 9.367 MB / 0.5887 GB Notification: Performance of NFFlatten.flatten: time 6.487e-05/0.002259, allocations: 28.12 kB / 0.7571 GB, free: 9.344 MB / 0.5887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.915e-05/0.002308, allocations: 0 / 0.7571 GB, free: 9.344 MB / 0.5887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.912e-05/0.002367, allocations: 13.3 kB / 0.7571 GB, free: 9.332 MB / 0.5887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.00247, allocations: 17.62 kB / 0.7571 GB, free: 9.316 MB / 0.5887 GB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.002495, allocations: 0 / 0.7571 GB, free: 9.316 MB / 0.5887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.02e-05/0.002505, allocations: 4 kB / 0.7571 GB, free: 9.312 MB / 0.5887 GB Notification: Performance of NFScalarize.scalarize: time 2.114e-05/0.002526, allocations: 5.297 kB / 0.7571 GB, free: 9.309 MB / 0.5887 GB Notification: Performance of NFVerifyModel.verify: time 2.735e-05/0.002553, allocations: 13.3 kB / 0.7571 GB, free: 9.297 MB / 0.5887 GB Notification: Performance of NFConvertDAE.convert: time 8.487e-05/0.002638, allocations: 17.22 kB / 0.7572 GB, free: 9.281 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.00264, allocations: 0 / 0.7572 GB, free: 9.281 MB / 0.5887 GB Notification: Performance of FrontEnd: time 8.41e-07/0.002641, allocations: 0 / 0.7572 GB, free: 9.281 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.002647, allocations: 1.312 kB / 0.7572 GB, free: 9.281 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004304/0.003077, allocations: 266.3 kB / 0.7574 GB, free: 8.988 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.003127, allocations: 12.03 kB / 0.7574 GB, free: 8.977 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.003162, allocations: 4.922 kB / 0.7574 GB, free: 8.973 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.782e-05/0.00325, allocations: 113.8 kB / 0.7575 GB, free: 8.836 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.003273, allocations: 384 / 0.7575 GB, free: 8.836 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.003285, allocations: 4.375 kB / 0.7575 GB, free: 8.832 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.003427, allocations: 63.91 kB / 0.7576 GB, free: 8.758 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.003435, allocations: 192 / 0.7576 GB, free: 8.758 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.003446, allocations: 384 / 0.7576 GB, free: 8.758 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.003452, allocations: 384 / 0.7576 GB, free: 8.758 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.379e-05/0.003516, allocations: 23.92 kB / 0.7576 GB, free: 8.734 MB / 0.5887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003/0.003816, allocations: 286 kB / 0.7579 GB, free: 8.422 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.267e-05/0.003899, allocations: 30.64 kB / 0.7579 GB, free: 8.383 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.553e-05/0.003934, allocations: 18.02 kB / 0.758 GB, free: 8.363 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.003949, allocations: 0 / 0.758 GB, free: 8.363 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.003972, allocations: 30.56 kB / 0.758 GB, free: 8.324 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=4): time 6.42e-07/0.003972, allocations: 4 kB / 0.758 GB, free: 8.32 MB / 0.5887 GB Notification: Performance of matching and sorting (n=4): time 0.0001999/0.004172, allocations: 69.5 kB / 0.7581 GB, free: 8.246 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.004207, allocations: 51.41 kB / 0.7581 GB, free: 8.184 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.744e-05/0.004295, allocations: 113.8 kB / 0.7582 GB, free: 8.062 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.00431, allocations: 29.7 kB / 0.7582 GB, free: 8.027 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 5.098e-05/0.004361, allocations: 95.97 kB / 0.7583 GB, free: 7.93 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 1.248e-05/0.004373, allocations: 15.89 kB / 0.7583 GB, free: 7.914 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/0.004404, allocations: 23.12 kB / 0.7584 GB, free: 7.887 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 8.494e-05/0.004488, allocations: 310.8 kB / 0.7587 GB, free: 7.574 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.656e-05/0.004515, allocations: 12 kB / 0.7587 GB, free: 7.562 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.901e-05/0.004544, allocations: 25.7 kB / 0.7587 GB, free: 7.531 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.416e-05/0.004598, allocations: 37.64 kB / 0.7587 GB, free: 7.488 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.0046, allocations: 0 / 0.7587 GB, free: 7.488 MB / 0.5887 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.508e-05/0.004686, allocations: 69.69 kB / 0.7588 GB, free: 7.414 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.004698, allocations: 7.938 kB / 0.7588 GB, free: 7.406 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.004703, allocations: 0 / 0.7588 GB, free: 7.406 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.004717, allocations: 4 kB / 0.7588 GB, free: 7.402 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.342e-05/0.0048, allocations: 19.92 kB / 0.7588 GB, free: 7.383 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.004806, allocations: 0 / 0.7588 GB, free: 7.383 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.515e-05/0.004831, allocations: 7.953 kB / 0.7588 GB, free: 7.375 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.004837, allocations: 1.312 kB / 0.7588 GB, free: 7.375 MB / 0.5887 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 5.695e-05/0.004894, allocations: 113.8 kB / 0.7589 GB, free: 7.254 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.406e-05/0.004908, allocations: 8.031 kB / 0.759 GB, free: 7.246 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.005028, allocations: 73.31 kB / 0.759 GB, free: 7.168 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.00503, allocations: 0 / 0.759 GB, free: 7.168 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.005035, allocations: 0 / 0.759 GB, free: 7.168 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.005038, allocations: 0 / 0.759 GB, free: 7.168 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.005139, allocations: 109.5 kB / 0.7591 GB, free: 7.031 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.005141, allocations: 4 kB / 0.7591 GB, free: 7.027 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.955e-05/0.00518, allocations: 19.92 kB / 0.7592 GB, free: 7.008 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.005183, allocations: 0 / 0.7592 GB, free: 7.008 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.00519, allocations: 4 kB / 0.7592 GB, free: 7.004 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.005191, allocations: 9.25 kB / 0.7592 GB, free: 6.996 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.005193, allocations: 4 kB / 0.7592 GB, free: 6.992 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.447e-05/0.005288, allocations: 151.5 kB / 0.7593 GB, free: 6.828 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 1.124e-05/0.005299, allocations: 3.984 kB / 0.7593 GB, free: 6.824 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-06/0.005309, allocations: 4 kB / 0.7593 GB, free: 6.82 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.144e-05/0.00534, allocations: 3.938 kB / 0.7593 GB, free: 6.816 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.005376, allocations: 4 kB / 0.7593 GB, free: 6.812 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.005378, allocations: 0 / 0.7593 GB, free: 6.812 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 3.688e-05/0.005415, allocations: 91.27 kB / 0.7594 GB, free: 6.723 MB / 0.5887 GB Notification: Performance of sort global known variables: time 2.21e-07/0.005415, allocations: 0 / 0.7594 GB, free: 6.723 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.0001419/0.005557, allocations: 8 kB / 0.7594 GB, free: 6.715 MB / 0.5887 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 8.025e-05/0.005637, allocations: 103.2 kB / 0.7595 GB, free: 6.605 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 9.06e-05/0.005728, allocations: 25.41 kB / 0.7595 GB, free: 6.582 MB / 0.5887 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.005729, allocations: 4 kB / 0.7596 GB, free: 6.578 MB / 0.5887 GB Notification: Performance of simCode: created simulation system equations: time 2.985e-05/0.005759, allocations: 19.92 kB / 0.7596 GB, free: 6.559 MB / 0.5887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.005952, allocations: 7.938 kB / 0.7596 GB, free: 6.551 MB / 0.5887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002695/0.006221, allocations: 154.4 kB / 0.7597 GB, free: 6.367 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.936e-05/0.006271, allocations: 67.41 kB / 0.7598 GB, free: 6.281 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.706e-05/0.006298, allocations: 12.48 kB / 0.7598 GB, free: 6.27 MB / 0.5887 GB Notification: Performance of SimCode: time 7.71e-07/0.006299, allocations: 0 / 0.7598 GB, free: 6.27 MB / 0.5887 GB Notification: Performance of Templates: time 0.001511/0.007809, allocations: 0.6347 MB / 0.7604 GB, free: 5.641 MB / 0.5887 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 > Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.595211307052523]