Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10A_InsulinsAndAnalogues.A10AB05_InsulinAspart.InsulinAspart_Rppel2017_PD_gir.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.001342/0.001342, allocations: 108.3 kB / 19.71 MB, free: 432 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.001489/0.001489, allocations: 220.4 kB / 23 MB, free: 2.957 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 0.9422/0.9422, allocations: 230.6 MB / 256.8 MB, free: 9.578 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.7138/0.7138, allocations: 312.3 MB / 0.6108 GB, free: 97.61 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.A_AlimentaryTractAndMetabolism.A10A_InsulinsAndAnalogues.A10AB05_InsulinAspart.InsulinAspart_Rppel2017_PD_gir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10A_InsulinsAndAnalogues.A10AB05_InsulinAspart.InsulinAspart_Rppel2017_PD_gir") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10A_InsulinsAndAnalogues.A10AB05_InsulinAspart.InsulinAspart_Rppel2017_PD_gir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10A_InsulinsAndAnalogues.A10AB05_InsulinAspart.InsulinAspart_Rppel2017_PD_gir") [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.002027/0.002027, allocations: 73.02 kB / 0.7699 GB, free: 20.21 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1225, allocations: 73.99 MB / 0.8421 GB, free: 10.34 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10A_InsulinsAndAnalogues.A10AB05_InsulinAspart.InsulinAspart_Rppel2017_PD_gir): time 0.001457/0.124, allocations: 0.6217 MB / 0.8427 GB, free: 9.738 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 4.766e-05/0.124, allocations: 12.48 kB / 0.8427 GB, free: 9.727 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.636e-05/0.1241, allocations: 0.625 kB / 0.8427 GB, free: 9.727 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.241e-05/0.1241, allocations: 4 kB / 0.8427 GB, free: 9.723 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 2.439e-05/0.1241, allocations: 4.531 kB / 0.8427 GB, free: 9.719 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.627e-05/0.1241, allocations: 4.5 kB / 0.8427 GB, free: 9.715 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 5.856e-05/0.1242, allocations: 12.61 kB / 0.8428 GB, free: 9.703 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.769e-05/0.1243, allocations: 0 / 0.8428 GB, free: 9.703 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.07e-05/0.1243, allocations: 16.69 kB / 0.8428 GB, free: 9.688 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.477e-05/0.1243, allocations: 7.922 kB / 0.8428 GB, free: 9.68 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.1243, allocations: 4.5 kB / 0.8428 GB, free: 9.676 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.17e-06/0.1243, allocations: 0.5625 kB / 0.8428 GB, free: 9.676 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.546e-05/0.1244, allocations: 3.938 kB / 0.8428 GB, free: 9.672 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.287e-05/0.1244, allocations: 12.56 kB / 0.8428 GB, free: 9.66 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 5.686e-05/0.1244, allocations: 7.922 kB / 0.8428 GB, free: 9.652 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1244, allocations: 0.625 kB / 0.8428 GB, free: 9.652 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1245, allocations: 4.625 kB / 0.8428 GB, free: 9.648 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.1245, allocations: 0 / 0.8428 GB, free: 9.648 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003283/0.1248, allocations: 254.9 kB / 0.8431 GB, free: 9.367 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.1248, allocations: 8.75 kB / 0.8431 GB, free: 9.359 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.697e-05/0.1249, allocations: 0.9375 kB / 0.8431 GB, free: 9.359 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.13e-05/0.1249, allocations: 119 kB / 0.8432 GB, free: 9.219 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.357e-06/0.1249, allocations: 1.062 kB / 0.8432 GB, free: 9.219 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.125, allocations: 4.375 kB / 0.8432 GB, free: 9.215 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.646e-05/0.125, allocations: 38.83 kB / 0.8432 GB, free: 9.172 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.1251, allocations: 192 / 0.8432 GB, free: 9.172 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.1251, allocations: 8.609 kB / 0.8432 GB, free: 9.164 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1251, allocations: 0 / 0.8432 GB, free: 9.164 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.773e-05/0.1251, allocations: 20.59 kB / 0.8432 GB, free: 9.145 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001125/0.1252, allocations: 109.4 kB / 0.8434 GB, free: 9.008 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.1254, allocations: 39.36 kB / 0.8434 GB, free: 8.961 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.937e-05/0.1254, allocations: 21.59 kB / 0.8434 GB, free: 8.938 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.1254, allocations: 0.5 kB / 0.8434 GB, free: 8.938 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.1255, allocations: 30.56 kB / 0.8434 GB, free: 8.898 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.1255, allocations: 0.5938 kB / 0.8434 GB, free: 8.898 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001833/0.1256, allocations: 66.28 kB / 0.8435 GB, free: 8.828 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.1257, allocations: 51.41 kB / 0.8436 GB, free: 8.766 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.876e-05/0.1257, allocations: 110.4 kB / 0.8437 GB, free: 8.648 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 9.428e-06/0.1257, allocations: 25.7 kB / 0.8437 GB, free: 8.617 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.808e-05/0.1258, allocations: 80.67 kB / 0.8438 GB, free: 8.535 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/0.1258, allocations: 12.5 kB / 0.8438 GB, free: 8.523 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.221e-05/0.1258, allocations: 13.72 kB / 0.8438 GB, free: 8.504 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.092e-05/0.1259, allocations: 323.3 kB / 0.8441 GB, free: 8.18 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.514e-05/0.1259, allocations: 4.719 kB / 0.8441 GB, free: 8.176 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.209e-05/0.1259, allocations: 4 kB / 0.8441 GB, free: 8.172 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.502e-05/0.1259, allocations: 21.89 kB / 0.8441 GB, free: 8.148 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.126, allocations: 0 / 0.8441 GB, free: 8.148 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.693e-05/0.126, allocations: 58.11 kB / 0.8442 GB, free: 8.086 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.126, allocations: 6.344 kB / 0.8442 GB, free: 8.082 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.126, allocations: 0 / 0.8442 GB, free: 8.082 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.126, allocations: 4.562 kB / 0.8442 GB, free: 8.078 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.143e-05/0.1261, allocations: 12.48 kB / 0.8442 GB, free: 8.066 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1261, allocations: 0 / 0.8442 GB, free: 8.066 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.342e-05/0.1261, allocations: 8.734 kB / 0.8442 GB, free: 8.059 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.1261, allocations: 0 / 0.8442 GB, free: 8.059 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 (4): * Single equations (assignments): 4 * 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.444e-05/0.1262, allocations: 116.3 kB / 0.8443 GB, free: 7.938 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.577e-06/0.1262, allocations: 0 / 0.8443 GB, free: 7.938 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.801e-05/0.1262, allocations: 4.312 kB / 0.8443 GB, free: 7.934 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.1262, allocations: 7.938 kB / 0.8443 GB, free: 7.926 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.1262, allocations: 0.5938 kB / 0.8443 GB, free: 7.926 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1262, allocations: 0.5 kB / 0.8443 GB, free: 7.926 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.059e-05/0.1263, allocations: 105.9 kB / 0.8444 GB, free: 7.793 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1263, allocations: 0 / 0.8444 GB, free: 7.793 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.815e-05/0.1263, allocations: 16.5 kB / 0.8445 GB, free: 7.777 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1263, allocations: 0 / 0.8445 GB, free: 7.777 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.1263, allocations: 0.5938 kB / 0.8445 GB, free: 7.777 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.1263, allocations: 4.531 kB / 0.8445 GB, free: 7.773 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1263, allocations: 3.938 kB / 0.8445 GB, free: 7.77 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.065e-05/0.1264, allocations: 77.64 kB / 0.8445 GB, free: 7.676 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.144e-06/0.1264, allocations: 4.531 kB / 0.8445 GB, free: 7.672 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.959e-06/0.1264, allocations: 3.984 kB / 0.8445 GB, free: 7.668 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.734e-06/0.1264, allocations: 4.844 kB / 0.8445 GB, free: 7.664 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.639e-05/0.1264, allocations: 3.938 kB / 0.8445 GB, free: 7.66 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.1264, allocations: 4.844 kB / 0.8446 GB, free: 7.656 MB / 474.8 MB Notification: Performance of sorting global known variables: time 2.634e-05/0.1264, allocations: 83.28 kB / 0.8446 GB, free: 7.574 MB / 474.8 MB Notification: Performance of sort global known variables: time 4e-08/0.1264, allocations: 0.5938 kB / 0.8446 GB, free: 7.574 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001095/0.1265, allocations: 8.656 kB / 0.8446 GB, free: 7.566 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 (4): * Single equations (assignments): 4 * 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.511e-05/0.1266, allocations: 107.8 kB / 0.8447 GB, free: 7.449 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 8.436e-05/0.1267, allocations: 16.59 kB / 0.8448 GB, free: 7.434 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1267, allocations: 0 / 0.8448 GB, free: 7.434 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.135e-05/0.1267, allocations: 12.61 kB / 0.8448 GB, free: 7.422 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000111/0.1268, allocations: 0.75 kB / 0.8448 GB, free: 7.422 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002502/0.1271, allocations: 143.2 kB / 0.8449 GB, free: 7.25 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.037e-05/0.1271, allocations: 67.94 kB / 0.845 GB, free: 7.164 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.286e-05/0.1271, allocations: 7.438 kB / 0.845 GB, free: 7.156 MB / 474.8 MB Notification: Performance of SimCode: time 5.01e-07/0.1271, allocations: 0.625 kB / 0.845 GB, free: 7.156 MB / 474.8 MB Notification: Performance of Templates: time 0.001581/0.1287, allocations: 0.5081 MB / 0.8455 GB, free: 6.668 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10A_InsulinsAndAnalogues.A10AB05_InsulinAspart.InsulinAspart_Rppel2017_PD_gir.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10A_InsulinsAndAnalogues.A10AB05_InsulinAspart.InsulinAspart_Rppel2017_PD_gir.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10A_InsulinsAndAnalogues.A10AB05_InsulinAspart.InsulinAspart_Rppel2017_PD_gir.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10A_InsulinsAndAnalogues.A10AB05_InsulinAspart.InsulinAspart_Rppel2017_PD_gir.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10A_InsulinsAndAnalogues.A10AB05_InsulinAspart.InsulinAspart_Rppel2017_PD_gir.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10A_InsulinsAndAnalogues.A10AB05_InsulinAspart.InsulinAspart_Rppel2017_PD_gir > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10A_InsulinsAndAnalogues.A10AB05_InsulinAspart.InsulinAspart_Rppel2017_PD_gir.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.649964075535536]