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.001864/0.001864, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 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.002067/0.002067, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.538/1.538, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.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.439/3.439, allocations: 274.5 MB / 0.5215 GB, free: 14.08 MB / 458.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: Performance of FrontEnd - loaded program: time 2.715e-06/2.715e-06, allocations: 0 / 0.6472 GB, free: 38.99 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.818e-05/3.09e-05, allocations: 2.312 kB / 0.6472 GB, free: 38.98 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations): time 0.00197/0.002001, allocations: 1.271 MB / 0.6485 GB, free: 38.13 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0001833/0.002184, allocations: 47.77 kB / 0.6485 GB, free: 38.1 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.948e-05/0.002213, allocations: 0 / 0.6485 GB, free: 38.1 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 1.573e-05/0.002229, allocations: 0 / 0.6485 GB, free: 38.1 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 6.661e-05/0.002296, allocations: 8.672 kB / 0.6485 GB, free: 38.1 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001219/0.002418, allocations: 9.703 kB / 0.6485 GB, free: 38.09 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 5.603e-05/0.002474, allocations: 25.83 kB / 0.6485 GB, free: 38.09 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.088e-05/0.002514, allocations: 2.938 kB / 0.6486 GB, free: 38.09 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.529e-05/0.00257, allocations: 15.78 kB / 0.6486 GB, free: 38.08 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.883e-05/0.002659, allocations: 12.66 kB / 0.6486 GB, free: 38.08 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.002677, allocations: 4.188 kB / 0.6486 GB, free: 38.08 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.386e-06/0.002685, allocations: 1.875 kB / 0.6486 GB, free: 38.08 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 1.534e-05/0.002701, allocations: 6.891 kB / 0.6486 GB, free: 38.08 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 2.366e-05/0.002724, allocations: 11.05 kB / 0.6486 GB, free: 38.07 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 6.504e-05/0.00279, allocations: 15.77 kB / 0.6486 GB, free: 38.07 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.002791, allocations: 0 / 0.6486 GB, free: 38.07 MB / 0.5262 GB Notification: Performance of FrontEnd: time 5.41e-07/0.002792, allocations: 0 / 0.6486 GB, free: 38.07 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.002797, allocations: 3.047 kB / 0.6486 GB, free: 38.07 MB / 0.5262 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.0004099/0.003207, allocations: 370.4 kB / 0.649 GB, free: 37.7 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.003244, allocations: 9.375 kB / 0.649 GB, free: 37.7 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.139e-05/0.003285, allocations: 5 kB / 0.649 GB, free: 37.7 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.968e-05/0.003355, allocations: 115.4 kB / 0.6491 GB, free: 37.56 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.003381, allocations: 5.625 kB / 0.6491 GB, free: 37.55 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.003391, allocations: 2.688 kB / 0.6491 GB, free: 37.55 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.00352, allocations: 66.36 kB / 0.6492 GB, free: 37.5 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.003531, allocations: 2.312 kB / 0.6492 GB, free: 37.5 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.003539, allocations: 384 / 0.6492 GB, free: 37.5 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.003543, allocations: 1.906 kB / 0.6492 GB, free: 37.5 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.832e-05/0.003632, allocations: 27.7 kB / 0.6492 GB, free: 37.48 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002652/0.003897, allocations: 378.9 kB / 0.6496 GB, free: 37.09 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.935e-05/0.003996, allocations: 46 kB / 0.6496 GB, free: 37.05 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.099e-05/0.004037, allocations: 18.03 kB / 0.6496 GB, free: 37.04 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.004055, allocations: 0.8438 kB / 0.6496 GB, free: 37.04 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.436e-05/0.00407, allocations: 40.64 kB / 0.6497 GB, free: 36.99 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.004071, allocations: 0 / 0.6497 GB, free: 36.99 MB / 0.5262 GB Notification: Performance of matching and sorting (n=4): time 0.0002128/0.004283, allocations: 72.88 kB / 0.6497 GB, free: 36.95 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.217e-05/0.004306, allocations: 52.25 kB / 0.6498 GB, free: 36.88 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.055e-05/0.004386, allocations: 170.9 kB / 0.6499 GB, free: 36.71 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 7.254e-06/0.004393, allocations: 25.7 kB / 0.65 GB, free: 36.68 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 4.376e-05/0.004437, allocations: 144.4 kB / 0.6501 GB, free: 36.54 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 9.127e-06/0.004446, allocations: 10.06 kB / 0.6501 GB, free: 36.54 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/0.00448, allocations: 23.94 kB / 0.6501 GB, free: 36.51 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 6.972e-05/0.00455, allocations: 0.4914 MB / 0.6506 GB, free: 36.01 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.088e-05/0.004591, allocations: 7.344 kB / 0.6506 GB, free: 36.01 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.39e-05/0.004635, allocations: 35.36 kB / 0.6507 GB, free: 35.98 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.253e-05/0.004707, allocations: 44.38 kB / 0.6507 GB, free: 35.95 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.004709, allocations: 0 / 0.6507 GB, free: 35.95 MB / 0.5262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001118/0.004821, allocations: 73.06 kB / 0.6508 GB, free: 35.91 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.004835, allocations: 8.688 kB / 0.6508 GB, free: 35.91 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.004839, allocations: 1.312 kB / 0.6508 GB, free: 35.91 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.004854, allocations: 1.656 kB / 0.6508 GB, free: 35.91 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.004961, allocations: 16.84 kB / 0.6508 GB, free: 35.91 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.004966, allocations: 1.812 kB / 0.6508 GB, free: 35.91 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.9e-05/0.005015, allocations: 14.27 kB / 0.6508 GB, free: 35.89 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.005022, allocations: 1.688 kB / 0.6508 GB, free: 35.89 MB / 0.5262 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 4.778e-05/0.005069, allocations: 158.4 kB / 0.651 GB, free: 35.73 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.005093, allocations: 1.812 kB / 0.651 GB, free: 35.73 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001358/0.005228, allocations: 76.19 kB / 0.651 GB, free: 35.68 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.00523, allocations: 1.375 kB / 0.651 GB, free: 35.68 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.005234, allocations: 1.469 kB / 0.651 GB, free: 35.68 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.005237, allocations: 3.422 kB / 0.651 GB, free: 35.68 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.741e-05/0.005334, allocations: 117.7 kB / 0.6512 GB, free: 35.54 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.005335, allocations: 1.375 kB / 0.6512 GB, free: 35.54 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.763e-05/0.005403, allocations: 14.98 kB / 0.6512 GB, free: 35.54 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.005405, allocations: 3.75 kB / 0.6512 GB, free: 35.54 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.005412, allocations: 1.406 kB / 0.6512 GB, free: 35.54 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.005415, allocations: 6.25 kB / 0.6512 GB, free: 35.53 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.005416, allocations: 320 / 0.6512 GB, free: 35.53 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.005547, allocations: 217 kB / 0.6514 GB, free: 35.33 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 1.058e-05/0.005558, allocations: 4.75 kB / 0.6514 GB, free: 35.33 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.005569, allocations: 0 / 0.6514 GB, free: 35.33 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.26e-05/0.005632, allocations: 6.312 kB / 0.6514 GB, free: 35.32 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/0.005666, allocations: 7.391 kB / 0.6514 GB, free: 35.32 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.00567, allocations: 3.062 kB / 0.6514 GB, free: 35.32 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 3.414e-05/0.005704, allocations: 136.2 kB / 0.6515 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of sort global known variables: time 5e-08/0.005704, allocations: 0 / 0.6515 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0002129/0.005917, allocations: 7.125 kB / 0.6515 GB, free: 35.2 MB / 0.5262 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 6.72e-05/0.005984, allocations: 98.16 kB / 0.6516 GB, free: 35.11 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0001332/0.006117, allocations: 41.45 kB / 0.6517 GB, free: 35.09 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.006119, allocations: 0 / 0.6517 GB, free: 35.09 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 3.819e-05/0.006157, allocations: 21.06 kB / 0.6517 GB, free: 35.07 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.006391, allocations: 9 kB / 0.6517 GB, free: 35.07 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002501/0.006641, allocations: 138.7 kB / 0.6518 GB, free: 34.94 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.995e-05/0.006681, allocations: 64.06 kB / 0.6519 GB, free: 34.87 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 3.548e-05/0.006716, allocations: 11.91 kB / 0.6519 GB, free: 34.86 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.938e-05/0.006745, allocations: 13.77 kB / 0.6519 GB, free: 34.86 MB / 0.5262 GB Notification: Performance of SimCode: time 4.41e-07/0.006746, allocations: 0 / 0.6519 GB, free: 34.86 MB / 0.5262 GB Notification: Performance of Templates: time 0.002934/0.00968, allocations: 0.5147 MB / 0.6524 GB, free: 34.8 MB / 0.5262 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: 8.159020110964775]