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.0007066/0.0007066, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009135/0.00162, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0009873/0.0009873, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001302/0.00229, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.014/1.014, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1002/1.115, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 0.8513/0.8513, allocations: 291.2 MB / 0.5226 GB, free: 52.92 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03366/0.885, allocations: 21.04 MB / 0.5431 GB, free: 31.95 MB / 410.7 MB " [Timeout remaining time 179] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.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.784e-06/1.784e-06, allocations: 0 / 0.5444 GB, free: 30.7 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.212e-05/2.391e-05, allocations: 10.19 kB / 0.5444 GB, free: 30.69 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations): time 0.002146/0.002169, allocations: 1.349 MB / 0.5457 GB, free: 29.33 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 9.272e-05/0.002262, allocations: 39.81 kB / 0.5457 GB, free: 29.29 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.027e-05/0.002282, allocations: 0 / 0.5457 GB, free: 29.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.538e-06/0.002292, allocations: 3.938 kB / 0.5457 GB, free: 29.29 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.433e-05/0.002326, allocations: 3.938 kB / 0.5457 GB, free: 29.29 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.57e-05/0.002382, allocations: 11.98 kB / 0.5458 GB, free: 29.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.491e-05/0.002447, allocations: 23.91 kB / 0.5458 GB, free: 29.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.546e-05/0.002492, allocations: 11.92 kB / 0.5458 GB, free: 29.24 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.977e-05/0.002572, allocations: 19.92 kB / 0.5458 GB, free: 29.22 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.602e-05/0.002668, allocations: 11.98 kB / 0.5458 GB, free: 29.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.521e-05/0.002693, allocations: 4 kB / 0.5458 GB, free: 29.2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.876e-06/0.002702, allocations: 3.938 kB / 0.5458 GB, free: 29.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.002716, allocations: 4 kB / 0.5458 GB, free: 29.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.768e-05/0.002744, allocations: 7.938 kB / 0.5458 GB, free: 29.19 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 7.559e-05/0.002819, allocations: 11.98 kB / 0.5459 GB, free: 29.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.645e-05/0.002836, allocations: 0 / 0.5459 GB, free: 29.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.002836, allocations: 0 / 0.5459 GB, free: 29.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.986e-05/0.002856, allocations: 0 / 0.5459 GB, free: 29.18 MB / 410.7 MB 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.000418/0.003274, allocations: 255 kB / 0.5461 GB, free: 28.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.003313, allocations: 15.89 kB / 0.5461 GB, free: 28.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.143e-05/0.003344, allocations: 4.938 kB / 0.5461 GB, free: 28.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.519e-05/0.003419, allocations: 109.8 kB / 0.5462 GB, free: 28.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.003442, allocations: 4.312 kB / 0.5462 GB, free: 28.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.003451, allocations: 4.375 kB / 0.5462 GB, free: 28.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.003564, allocations: 72.64 kB / 0.5463 GB, free: 28.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.003572, allocations: 4.125 kB / 0.5463 GB, free: 28.65 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.00358, allocations: 384 / 0.5463 GB, free: 28.65 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.003586, allocations: 384 / 0.5463 GB, free: 28.65 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.01e-05/0.003616, allocations: 15.94 kB / 0.5463 GB, free: 28.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001883/0.003804, allocations: 228.5 kB / 0.5465 GB, free: 28.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.765e-05/0.003862, allocations: 38.55 kB / 0.5466 GB, free: 28.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.652e-05/0.003878, allocations: 4.859 kB / 0.5466 GB, free: 28.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.003892, allocations: 4 kB / 0.5466 GB, free: 28.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.665e-05/0.003909, allocations: 30.56 kB / 0.5466 GB, free: 28.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/0.003911, allocations: 3.984 kB / 0.5466 GB, free: 28.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001233/0.004034, allocations: 45.72 kB / 0.5467 GB, free: 28.24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.004064, allocations: 55.41 kB / 0.5467 GB, free: 28.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.573e-05/0.004129, allocations: 114.6 kB / 0.5468 GB, free: 28.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.004138, allocations: 29.7 kB / 0.5469 GB, free: 28.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.032e-05/0.004168, allocations: 96.03 kB / 0.5469 GB, free: 27.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.428e-05/0.004182, allocations: 11.89 kB / 0.547 GB, free: 27.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/0.004213, allocations: 21.7 kB / 0.547 GB, free: 27.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.633e-05/0.00425, allocations: 314.8 kB / 0.5473 GB, free: 27.56 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.267e-05/0.004262, allocations: 7.984 kB / 0.5473 GB, free: 27.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.781e-05/0.00428, allocations: 13.72 kB / 0.5473 GB, free: 27.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.626e-05/0.004326, allocations: 32.44 kB / 0.5473 GB, free: 27.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.004328, allocations: 0 / 0.5473 GB, free: 27.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.174e-05/0.0044, allocations: 53.62 kB / 0.5474 GB, free: 27.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.004413, allocations: 8.031 kB / 0.5474 GB, free: 27.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.004418, allocations: 0 / 0.5474 GB, free: 27.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.004432, allocations: 3.938 kB / 0.5474 GB, free: 27.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.004593, allocations: 19.98 kB / 0.5474 GB, free: 27.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.004599, allocations: 7.984 kB / 0.5474 GB, free: 27.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.48e-05/0.004634, allocations: 3.953 kB / 0.5474 GB, free: 27.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.004642, allocations: 7.938 kB / 0.5474 GB, free: 27.39 MB / 410.7 MB 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.953e-05/0.004691, allocations: 105.8 kB / 0.5475 GB, free: 27.28 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/0.004713, allocations: 8 kB / 0.5475 GB, free: 27.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.821e-05/0.004811, allocations: 57.61 kB / 0.5476 GB, free: 27.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.004814, allocations: 11.88 kB / 0.5476 GB, free: 27.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.004816, allocations: 0 / 0.5476 GB, free: 27.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.00482, allocations: 0 / 0.5476 GB, free: 27.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.004949, allocations: 73.52 kB / 0.5477 GB, free: 27.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.004952, allocations: 0 / 0.5477 GB, free: 27.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.289e-05/0.005045, allocations: 15.98 kB / 0.5477 GB, free: 27.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.31e-05/0.005058, allocations: 4 kB / 0.5477 GB, free: 27.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.00506, allocations: 3.938 kB / 0.5477 GB, free: 27.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.005067, allocations: 3.984 kB / 0.5477 GB, free: 27.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.005069, allocations: 0 / 0.5477 GB, free: 27.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.005071, allocations: 7.938 kB / 0.5477 GB, free: 27.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.363e-05/0.005165, allocations: 139.5 kB / 0.5478 GB, free: 26.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.005176, allocations: 0 / 0.5478 GB, free: 26.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.602e-05/0.005232, allocations: 4 kB / 0.5478 GB, free: 26.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.00527, allocations: 7.984 kB / 0.5479 GB, free: 26.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.391e-06/0.005275, allocations: 3.938 kB / 0.5479 GB, free: 26.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.98e-05/0.005295, allocations: 12.86 kB / 0.5479 GB, free: 26.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005295, allocations: 0 / 0.5479 GB, free: 26.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001954/0.00549, allocations: 8 kB / 0.5479 GB, free: 26.88 MB / 410.7 MB 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.825e-05/0.005559, allocations: 76.42 kB / 0.5479 GB, free: 26.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.255e-05/0.005641, allocations: 36.77 kB / 0.548 GB, free: 26.76 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.005647, allocations: 0 / 0.548 GB, free: 26.76 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.907e-05/0.005666, allocations: 12.86 kB / 0.548 GB, free: 26.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.005875, allocations: 7.984 kB / 0.548 GB, free: 26.74 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008004/0.006675, allocations: 132.4 kB / 0.5481 GB, free: 26.58 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.011e-05/0.006706, allocations: 59.34 kB / 0.5482 GB, free: 26.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.947e-05/0.006735, allocations: 8.062 kB / 0.5482 GB, free: 26.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.8e-05/0.006783, allocations: 55.38 kB / 0.5482 GB, free: 26.44 MB / 410.7 MB Notification: Performance of SimCode: time 8.82e-07/0.006784, allocations: 0 / 0.5482 GB, free: 26.44 MB / 410.7 MB Notification: Performance of Templates: time 0.002471/0.009255, allocations: 0.5346 MB / 0.5488 GB, free: 25.92 MB / 410.7 MB " [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: 3.5321324532851577]