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.001029/0.001029, allocations: 104.3 kB / 19.71 MB, free: 440 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.000952/0.000952, allocations: 217.8 kB / 23 MB, free: 2.965 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.076/1.076, allocations: 230.6 MB / 256.8 MB, free: 9.617 MB / 202.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.7155/0.7155, allocations: 312.3 MB / 0.6108 GB, free: 97.11 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.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.00142/0.00142, allocations: 71.11 kB / 0.7698 GB, free: 19.78 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1261, allocations: 73.99 MB / 0.8421 GB, free: 9.914 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L03A_Immunostimulants.L03AA13_Pegfilgrastim.Pegfilgrastim_Brekkan2018_PD_anc): time 0.001454/0.1276, allocations: 0.5837 MB / 0.8427 GB, free: 9.348 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 5.028e-05/0.1276, allocations: 15.86 kB / 0.8427 GB, free: 9.332 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.824e-05/0.1277, allocations: 0.5312 kB / 0.8427 GB, free: 9.332 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.356e-05/0.1277, allocations: 0.5312 kB / 0.8427 GB, free: 9.332 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.571e-05/0.1277, allocations: 4.438 kB / 0.8427 GB, free: 9.328 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.513e-05/0.1278, allocations: 4 kB / 0.8427 GB, free: 9.324 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 6.104e-05/0.1278, allocations: 12.61 kB / 0.8427 GB, free: 9.312 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.195e-05/0.1279, allocations: 4.562 kB / 0.8427 GB, free: 9.309 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.864e-05/0.1279, allocations: 3.984 kB / 0.8427 GB, free: 9.305 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.067e-05/0.128, allocations: 8.438 kB / 0.8427 GB, free: 9.297 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.128, allocations: 0.6875 kB / 0.8427 GB, free: 9.297 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.509e-06/0.128, allocations: 0 / 0.8427 GB, free: 9.297 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.902e-05/0.128, allocations: 8.609 kB / 0.8427 GB, free: 9.289 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.255e-05/0.128, allocations: 7.938 kB / 0.8427 GB, free: 9.281 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.515e-05/0.1281, allocations: 18.78 kB / 0.8428 GB, free: 9.266 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1281, allocations: 0.5625 kB / 0.8428 GB, free: 9.266 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.275e-06/0.1281, allocations: 0 / 0.8428 GB, free: 9.266 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.75e-06/0.1281, allocations: 0.5 kB / 0.8428 GB, free: 9.266 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.0003477/0.1284, allocations: 259.4 kB / 0.843 GB, free: 8.98 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.1285, allocations: 8.031 kB / 0.843 GB, free: 8.973 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.692e-05/0.1285, allocations: 1.438 kB / 0.843 GB, free: 8.973 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.551e-05/0.1286, allocations: 118.9 kB / 0.8431 GB, free: 8.832 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.1286, allocations: 384 / 0.8431 GB, free: 8.832 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.1286, allocations: 0.9375 kB / 0.8431 GB, free: 8.832 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.96e-05/0.1287, allocations: 42.84 kB / 0.8432 GB, free: 8.785 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.1287, allocations: 4.172 kB / 0.8432 GB, free: 8.781 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.1287, allocations: 4.531 kB / 0.8432 GB, free: 8.777 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1287, allocations: 0.5625 kB / 0.8432 GB, free: 8.777 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.437e-05/0.1288, allocations: 4 kB / 0.8432 GB, free: 8.773 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001143/0.1289, allocations: 110 kB / 0.8433 GB, free: 8.637 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002722/0.1291, allocations: 51.34 kB / 0.8433 GB, free: 8.578 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.28e-05/0.1292, allocations: 13.59 kB / 0.8433 GB, free: 8.562 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.594e-06/0.1292, allocations: 4 kB / 0.8434 GB, free: 8.559 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.1292, allocations: 31.09 kB / 0.8434 GB, free: 8.52 MB / 474.8 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1292, allocations: 0 / 0.8434 GB, free: 8.52 MB / 474.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001386/0.1293, allocations: 50.19 kB / 0.8434 GB, free: 8.465 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.1294, allocations: 59.84 kB / 0.8435 GB, free: 8.395 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.025e-05/0.1294, allocations: 98.48 kB / 0.8436 GB, free: 8.289 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.1294, allocations: 29.64 kB / 0.8436 GB, free: 8.254 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.604e-05/0.1295, allocations: 92.72 kB / 0.8437 GB, free: 8.16 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.1295, allocations: 7.891 kB / 0.8437 GB, free: 8.152 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.372e-05/0.1295, allocations: 14.34 kB / 0.8437 GB, free: 8.133 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.808e-05/0.1296, allocations: 315.5 kB / 0.844 GB, free: 7.816 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.661e-05/0.1296, allocations: 4 kB / 0.844 GB, free: 7.812 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.219e-05/0.1296, allocations: 8.578 kB / 0.844 GB, free: 7.805 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.27e-05/0.1296, allocations: 16.86 kB / 0.844 GB, free: 7.785 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1296, allocations: 0.6562 kB / 0.844 GB, free: 7.785 MB / 474.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.5e-05/0.1297, allocations: 54.14 kB / 0.8441 GB, free: 7.727 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.1297, allocations: 4 kB / 0.8441 GB, free: 7.723 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.1297, allocations: 0.625 kB / 0.8441 GB, free: 7.723 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.1297, allocations: 3.938 kB / 0.8441 GB, free: 7.719 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.236e-05/0.1298, allocations: 4.594 kB / 0.8441 GB, free: 7.715 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1298, allocations: 0.5625 kB / 0.8441 GB, free: 7.715 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.239e-05/0.1298, allocations: 0 / 0.8441 GB, free: 7.715 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.1298, allocations: 4.594 kB / 0.8441 GB, free: 7.711 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 5.529e-05/0.1299, allocations: 111.6 kB / 0.8442 GB, free: 7.594 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.038e-06/0.1299, allocations: 0.5 kB / 0.8442 GB, free: 7.594 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.928e-05/0.1299, allocations: 11.69 kB / 0.8442 GB, free: 7.582 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.1299, allocations: 8.641 kB / 0.8442 GB, free: 7.574 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.1299, allocations: 0 / 0.8442 GB, free: 7.574 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1299, allocations: 0.5 kB / 0.8442 GB, free: 7.574 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.889e-05/0.13, allocations: 101.8 kB / 0.8443 GB, free: 7.445 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.13, allocations: 0.5 kB / 0.8443 GB, free: 7.445 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.267e-05/0.13, allocations: 4.25 kB / 0.8443 GB, free: 7.441 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.13, allocations: 4.953 kB / 0.8444 GB, free: 7.438 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.13, allocations: 8.625 kB / 0.8444 GB, free: 7.43 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.13, allocations: 3.984 kB / 0.8444 GB, free: 7.426 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.13, allocations: 4.531 kB / 0.8444 GB, free: 7.422 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.616e-05/0.1301, allocations: 77 kB / 0.8444 GB, free: 7.328 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.453e-06/0.1301, allocations: 4.531 kB / 0.8444 GB, free: 7.324 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.047e-06/0.1301, allocations: 0.5938 kB / 0.8444 GB, free: 7.324 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.665e-06/0.1301, allocations: 0 / 0.8444 GB, free: 7.324 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.713e-05/0.1301, allocations: 4.469 kB / 0.8444 GB, free: 7.32 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.1301, allocations: 4.531 kB / 0.8445 GB, free: 7.316 MB / 474.8 MB Notification: Performance of sorting global known variables: time 2.756e-05/0.1301, allocations: 87.27 kB / 0.8445 GB, free: 7.23 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1301, allocations: 0.7188 kB / 0.8445 GB, free: 7.23 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001128/0.1302, allocations: 8.469 kB / 0.8445 GB, free: 7.223 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 9.096e-05/0.1303, allocations: 102.3 kB / 0.8446 GB, free: 7.113 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 8.368e-05/0.1304, allocations: 16.44 kB / 0.8447 GB, free: 7.098 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1304, allocations: 0 / 0.8447 GB, free: 7.098 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.041e-05/0.1304, allocations: 16.55 kB / 0.8447 GB, free: 7.082 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001113/0.1305, allocations: 4.719 kB / 0.8447 GB, free: 7.078 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002518/0.1308, allocations: 131.2 kB / 0.8448 GB, free: 6.918 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.112e-05/0.1308, allocations: 64.12 kB / 0.8449 GB, free: 6.836 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.408e-05/0.1309, allocations: 7.438 kB / 0.8449 GB, free: 6.828 MB / 474.8 MB Notification: Performance of SimCode: time 5.91e-07/0.1309, allocations: 0.7188 kB / 0.8449 GB, free: 6.828 MB / 474.8 MB Notification: Performance of Templates: time 0.001445/0.1323, allocations: 0.4942 MB / 0.8454 GB, free: 6.355 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 > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L03A_Immunostimulants.L03AA13_Pegfilgrastim.Pegfilgrastim_Brekkan2018_PD_anc.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.783577946946025]