Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L03A_Immunostimulants.L03AA13_Pegfilgrastim.Pegfilgrastim_Brekkan2018_PD_anc.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.001955/0.001955, allocations: 109.5 kB / 18.95 MB, free: 1.172 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.002084/0.002084, allocations: 218.2 kB / 22.25 MB, free: 3.559 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.648/1.648, allocations: 230.6 MB / 256 MB, free: 9.613 MB / 202.7 MB " [Timeout remaining time 178] 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 1.392/1.392, allocations: 316.7 MB / 0.6144 GB, free: 92.92 MB / 410.7 MB " [Timeout remaining time 178] 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.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L03A_Immunostimulants.L03AA13_Pegfilgrastim.Pegfilgrastim_Brekkan2018_PD_anc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L03A_Immunostimulants.L03AA13_Pegfilgrastim.Pegfilgrastim_Brekkan2018_PD_anc") translateModel(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L03A_Immunostimulants.L03AA13_Pegfilgrastim.Pegfilgrastim_Brekkan2018_PD_anc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L03A_Immunostimulants.L03AA13_Pegfilgrastim.Pegfilgrastim_Brekkan2018_PD_anc") [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.004087/0.004087, allocations: 73.73 kB / 0.7749 GB, free: 14.85 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1361, allocations: 74 MB / 0.8472 GB, free: 4.977 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L03A_Immunostimulants.L03AA13_Pegfilgrastim.Pegfilgrastim_Brekkan2018_PD_anc): time 0.001797/0.1379, allocations: 0.5879 MB / 0.8478 GB, free: 4.402 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 4.631e-05/0.1379, allocations: 7.984 kB / 0.8478 GB, free: 4.395 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.209e-05/0.138, allocations: 0.5 kB / 0.8478 GB, free: 4.395 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.503e-05/0.138, allocations: 4.656 kB / 0.8478 GB, free: 4.391 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.255e-05/0.138, allocations: 0 / 0.8478 GB, free: 4.391 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.781e-05/0.138, allocations: 4.625 kB / 0.8478 GB, free: 4.387 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 7.074e-05/0.1381, allocations: 19.86 kB / 0.8478 GB, free: 4.367 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.919e-05/0.1382, allocations: 4.531 kB / 0.8478 GB, free: 4.363 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.479e-05/0.1382, allocations: 4.625 kB / 0.8478 GB, free: 4.359 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.022e-05/0.1382, allocations: 11.92 kB / 0.8478 GB, free: 4.348 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.1382, allocations: 0.625 kB / 0.8478 GB, free: 4.348 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.449e-06/0.1382, allocations: 0 / 0.8478 GB, free: 4.348 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.747e-05/0.1383, allocations: 10.67 kB / 0.8478 GB, free: 4.34 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.66e-05/0.1383, allocations: 11.92 kB / 0.8478 GB, free: 4.328 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 5.461e-05/0.1383, allocations: 6.281 kB / 0.8479 GB, free: 4.324 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1384, allocations: 4 kB / 0.8479 GB, free: 4.32 MB / 474.8 MB Notification: Performance of FrontEnd: time 4.338e-06/0.1384, allocations: 3.984 kB / 0.8479 GB, free: 4.316 MB / 474.8 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1384, allocations: 0 / 0.8479 GB, free: 4.316 MB / 474.8 MB 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.0004222/0.1388, allocations: 251.2 kB / 0.8481 GB, free: 4.039 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.1388, allocations: 12.02 kB / 0.8481 GB, free: 4.027 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.407e-05/0.1388, allocations: 1.469 kB / 0.8481 GB, free: 4.027 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.139, allocations: 111.3 kB / 0.8482 GB, free: 3.895 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.845e-06/0.139, allocations: 384 / 0.8482 GB, free: 3.895 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.139, allocations: 384 / 0.8482 GB, free: 3.895 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.1391, allocations: 46.75 kB / 0.8483 GB, free: 3.844 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.1391, allocations: 0.9375 kB / 0.8483 GB, free: 3.844 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.1391, allocations: 3.938 kB / 0.8483 GB, free: 3.84 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1391, allocations: 0.5 kB / 0.8483 GB, free: 3.84 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.534e-05/0.1392, allocations: 4 kB / 0.8483 GB, free: 3.836 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001776/0.1393, allocations: 110.4 kB / 0.8484 GB, free: 3.699 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003867/0.1397, allocations: 54.62 kB / 0.8484 GB, free: 3.637 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.215e-05/0.1398, allocations: 10.89 kB / 0.8484 GB, free: 3.625 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.1398, allocations: 4.094 kB / 0.8484 GB, free: 3.621 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.1398, allocations: 34.55 kB / 0.8485 GB, free: 3.578 MB / 474.8 MB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.1398, allocations: 0 / 0.8485 GB, free: 3.578 MB / 474.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001575/0.14, allocations: 45.64 kB / 0.8485 GB, free: 3.527 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.14, allocations: 59.98 kB / 0.8486 GB, free: 3.457 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.739e-05/0.1401, allocations: 97.86 kB / 0.8487 GB, free: 3.352 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.1401, allocations: 27.3 kB / 0.8487 GB, free: 3.32 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.269e-05/0.1402, allocations: 88.14 kB / 0.8488 GB, free: 3.23 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.1402, allocations: 7.938 kB / 0.8488 GB, free: 3.223 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/0.1402, allocations: 17.72 kB / 0.8488 GB, free: 3.199 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.1404, allocations: 311.8 kB / 0.8491 GB, free: 2.887 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.902e-05/0.1404, allocations: 7.938 kB / 0.8491 GB, free: 2.879 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.439e-05/0.1404, allocations: 4.188 kB / 0.8491 GB, free: 2.875 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002881/0.1407, allocations: 25.86 kB / 0.8491 GB, free: 2.848 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1407, allocations: 3.938 kB / 0.8491 GB, free: 2.844 MB / 474.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.334e-05/0.1408, allocations: 43.94 kB / 0.8492 GB, free: 2.797 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.1408, allocations: 8 kB / 0.8492 GB, free: 2.789 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.1408, allocations: 3.938 kB / 0.8492 GB, free: 2.785 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.1408, allocations: 11.92 kB / 0.8492 GB, free: 2.773 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.232e-05/0.1409, allocations: 4 kB / 0.8492 GB, free: 2.77 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.1409, allocations: 5.141 kB / 0.8492 GB, free: 2.766 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.113e-05/0.1409, allocations: 4 kB / 0.8492 GB, free: 2.762 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.555e-06/0.1409, allocations: 7.938 kB / 0.8492 GB, free: 2.754 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 9.122e-05/0.141, allocations: 108.2 kB / 0.8493 GB, free: 2.641 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.182e-06/0.141, allocations: 0 / 0.8493 GB, free: 2.641 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.713e-05/0.141, allocations: 11.69 kB / 0.8493 GB, free: 2.629 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.141, allocations: 3.938 kB / 0.8493 GB, free: 2.625 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.141, allocations: 0 / 0.8493 GB, free: 2.625 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-06/0.141, allocations: 0.5 kB / 0.8493 GB, free: 2.625 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.1412, allocations: 109.8 kB / 0.8494 GB, free: 2.488 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1412, allocations: 0.5938 kB / 0.8494 GB, free: 2.488 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.131e-05/0.1412, allocations: 4 kB / 0.8495 GB, free: 2.484 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1412, allocations: 4.5 kB / 0.8495 GB, free: 2.48 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.1412, allocations: 0.6562 kB / 0.8495 GB, free: 2.48 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.1412, allocations: 0 / 0.8495 GB, free: 2.48 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1412, allocations: 4.594 kB / 0.8495 GB, free: 2.477 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000102/0.1413, allocations: 69.08 kB / 0.8495 GB, free: 2.391 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.699e-06/0.1413, allocations: 8.531 kB / 0.8495 GB, free: 2.383 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.1413, allocations: 4.609 kB / 0.8495 GB, free: 2.379 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.85e-05/0.1413, allocations: 0 / 0.8495 GB, free: 2.379 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.258e-05/0.1414, allocations: 8.531 kB / 0.8495 GB, free: 2.371 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.1414, allocations: 4 kB / 0.8496 GB, free: 2.367 MB / 474.8 MB Notification: Performance of sorting global known variables: time 4.903e-05/0.1414, allocations: 79.97 kB / 0.8496 GB, free: 2.289 MB / 474.8 MB Notification: Performance of sort global known variables: time 6e-08/0.1414, allocations: 0 / 0.8496 GB, free: 2.289 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001635/0.1416, allocations: 0.5625 kB / 0.8496 GB, free: 2.289 MB / 474.8 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 (3): * Single equations (assignments): 3 * 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.0001208/0.1417, allocations: 108.3 kB / 0.8497 GB, free: 2.172 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 8.016e-05/0.1418, allocations: 12 kB / 0.8497 GB, free: 2.16 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1418, allocations: 0.5625 kB / 0.8497 GB, free: 2.16 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 2.123e-05/0.1418, allocations: 12.56 kB / 0.8498 GB, free: 2.148 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/0.1419, allocations: 4 kB / 0.8498 GB, free: 2.145 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002582/0.1422, allocations: 113.5 kB / 0.8499 GB, free: 2.008 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.803e-05/0.1423, allocations: 56.08 kB / 0.8499 GB, free: 1.934 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 2.215e-05/0.1423, allocations: 4.719 kB / 0.8499 GB, free: 1.93 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.389e-05/0.1423, allocations: 8.188 kB / 0.8499 GB, free: 1.922 MB / 474.8 MB Notification: Performance of SimCode: time 3.71e-07/0.1423, allocations: 0 / 0.8499 GB, free: 1.922 MB / 474.8 MB Notification: Performance of Templates: time 0.00263/0.1449, allocations: 406.1 kB / 0.8503 GB, free: 1.598 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L03A_Immunostimulants.L03AA13_Pegfilgrastim.Pegfilgrastim_Brekkan2018_PD_anc.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L03A_Immunostimulants.L03AA13_Pegfilgrastim.Pegfilgrastim_Brekkan2018_PD_anc.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L03A_Immunostimulants.L03AA13_Pegfilgrastim.Pegfilgrastim_Brekkan2018_PD_anc.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L03A_Immunostimulants.L03AA13_Pegfilgrastim.Pegfilgrastim_Brekkan2018_PD_anc.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L03A_Immunostimulants.L03AA13_Pegfilgrastim.Pegfilgrastim_Brekkan2018_PD_anc.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L03A_Immunostimulants.L03AA13_Pegfilgrastim.Pegfilgrastim_Brekkan2018_PD_anc -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L03A_Immunostimulants.L03AA13_Pegfilgrastim.Pegfilgrastim_Brekkan2018_PD_anc.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.893871787004173]