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.001923/0.001923, 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.002085/0.002085, allocations: 219.6 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.661/1.661, allocations: 230.6 MB / 256 MB, free: 9.586 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.419/1.419, allocations: 316.8 MB / 0.6144 GB, free: 93.64 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.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.00543/0.00543, allocations: 73.86 kB / 0.775 GB, free: 15.1 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1493, allocations: 73.99 MB / 0.8472 GB, free: 5.238 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10A_InsulinsAndAnalogues.A10AB05_InsulinAspart.InsulinAspart_Rppel2017_PD_gir): time 0.002416/0.1517, allocations: 0.6206 MB / 0.8478 GB, free: 4.633 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 6.553e-05/0.1517, allocations: 4.5 kB / 0.8478 GB, free: 4.629 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.012e-05/0.1518, allocations: 0.625 kB / 0.8478 GB, free: 4.629 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.765e-05/0.1518, allocations: 0 / 0.8478 GB, free: 4.629 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.592e-05/0.1518, allocations: 4.625 kB / 0.8478 GB, free: 4.625 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 7.752e-05/0.1519, allocations: 15.86 kB / 0.8479 GB, free: 4.609 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 8.459e-05/0.152, allocations: 12.55 kB / 0.8479 GB, free: 4.598 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.02e-05/0.1521, allocations: 4.625 kB / 0.8479 GB, free: 4.594 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.316e-05/0.1521, allocations: 7.984 kB / 0.8479 GB, free: 4.586 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 7.525e-05/0.1522, allocations: 12.48 kB / 0.8479 GB, free: 4.574 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.1522, allocations: 4.688 kB / 0.8479 GB, free: 4.57 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.631e-06/0.1522, allocations: 0 / 0.8479 GB, free: 4.57 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.944e-05/0.1522, allocations: 4.812 kB / 0.8479 GB, free: 4.566 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.861e-05/0.1522, allocations: 11.92 kB / 0.8479 GB, free: 4.555 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.317e-05/0.1523, allocations: 8.547 kB / 0.8479 GB, free: 4.547 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1523, allocations: 0 / 0.8479 GB, free: 4.547 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1523, allocations: 0.5938 kB / 0.8479 GB, free: 4.547 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1523, allocations: 4 kB / 0.8479 GB, free: 4.543 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.0004341/0.1527, allocations: 255.1 kB / 0.8482 GB, free: 4.262 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.1528, allocations: 12.81 kB / 0.8482 GB, free: 4.25 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.922e-05/0.1528, allocations: 0.9375 kB / 0.8482 GB, free: 4.25 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.1529, allocations: 111.2 kB / 0.8483 GB, free: 4.117 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.1529, allocations: 8.312 kB / 0.8483 GB, free: 4.109 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.153, allocations: 1.062 kB / 0.8483 GB, free: 4.109 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.1531, allocations: 42.23 kB / 0.8483 GB, free: 4.062 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.1531, allocations: 0.875 kB / 0.8483 GB, free: 4.062 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.1531, allocations: 7.938 kB / 0.8484 GB, free: 4.055 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.1531, allocations: 0.5312 kB / 0.8484 GB, free: 4.055 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.474e-05/0.1531, allocations: 8.812 kB / 0.8484 GB, free: 4.047 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001725/0.1533, allocations: 105.3 kB / 0.8485 GB, free: 3.914 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.1535, allocations: 51.27 kB / 0.8485 GB, free: 3.855 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.149e-05/0.1536, allocations: 13.55 kB / 0.8485 GB, free: 3.84 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.1536, allocations: 3.938 kB / 0.8485 GB, free: 3.836 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.1536, allocations: 35.22 kB / 0.8486 GB, free: 3.793 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1536, allocations: 0 / 0.8486 GB, free: 3.793 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001791/0.1538, allocations: 58.36 kB / 0.8486 GB, free: 3.73 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.1538, allocations: 52.62 kB / 0.8487 GB, free: 3.668 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.154, allocations: 109.8 kB / 0.8488 GB, free: 3.551 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.154, allocations: 25.7 kB / 0.8488 GB, free: 3.52 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.865e-05/0.154, allocations: 81.17 kB / 0.8489 GB, free: 3.438 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.395e-05/0.1541, allocations: 19.88 kB / 0.8489 GB, free: 3.418 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.622e-05/0.1541, allocations: 13.72 kB / 0.8489 GB, free: 3.398 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.1543, allocations: 319.6 kB / 0.8492 GB, free: 3.078 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.024e-05/0.1543, allocations: 4 kB / 0.8492 GB, free: 3.074 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.886e-05/0.1543, allocations: 13.61 kB / 0.8492 GB, free: 3.062 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.579e-05/0.1544, allocations: 16.86 kB / 0.8492 GB, free: 3.043 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1544, allocations: 0 / 0.8492 GB, free: 3.043 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.771e-05/0.1544, allocations: 49.69 kB / 0.8493 GB, free: 2.988 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.1545, allocations: 4 kB / 0.8493 GB, free: 2.984 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1545, allocations: 2.531 kB / 0.8493 GB, free: 2.984 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.1545, allocations: 3.938 kB / 0.8493 GB, free: 2.98 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.428e-05/0.1545, allocations: 15.88 kB / 0.8493 GB, free: 2.965 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1545, allocations: 0 / 0.8493 GB, free: 2.965 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.465e-05/0.1546, allocations: 7.891 kB / 0.8493 GB, free: 2.957 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.516e-06/0.1546, allocations: 0 / 0.8493 GB, free: 2.957 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 9.46e-05/0.1547, allocations: 115.5 kB / 0.8494 GB, free: 2.836 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.103e-06/0.1547, allocations: 1 kB / 0.8494 GB, free: 2.836 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.155e-05/0.1547, allocations: 12 kB / 0.8494 GB, free: 2.824 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.1547, allocations: 7.938 kB / 0.8495 GB, free: 2.816 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1547, allocations: 2.219 kB / 0.8495 GB, free: 2.816 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.1547, allocations: 3.984 kB / 0.8495 GB, free: 2.812 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.1549, allocations: 105.3 kB / 0.8496 GB, free: 2.68 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1549, allocations: 0 / 0.8496 GB, free: 2.68 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.345e-05/0.1549, allocations: 8 kB / 0.8496 GB, free: 2.672 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.1549, allocations: 4.703 kB / 0.8496 GB, free: 2.668 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.1549, allocations: 0 / 0.8496 GB, free: 2.668 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.1549, allocations: 1.094 kB / 0.8496 GB, free: 2.668 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.1549, allocations: 7.875 kB / 0.8496 GB, free: 2.66 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.155, allocations: 81.02 kB / 0.8497 GB, free: 2.562 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.05e-05/0.155, allocations: 4.5 kB / 0.8497 GB, free: 2.559 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.1551, allocations: 0.5 kB / 0.8497 GB, free: 2.559 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.155e-05/0.1551, allocations: 0 / 0.8497 GB, free: 2.559 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.085e-05/0.1551, allocations: 4.688 kB / 0.8497 GB, free: 2.555 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.1551, allocations: 4 kB / 0.8497 GB, free: 2.551 MB / 474.8 MB Notification: Performance of sorting global known variables: time 6.179e-05/0.1552, allocations: 87.77 kB / 0.8498 GB, free: 2.465 MB / 474.8 MB Notification: Performance of sort global known variables: time 7e-08/0.1552, allocations: 0.6875 kB / 0.8498 GB, free: 2.465 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001728/0.1553, allocations: 4 kB / 0.8498 GB, free: 2.461 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 0.0004174/0.1558, allocations: 100.6 kB / 0.8499 GB, free: 2.352 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0001066/0.1559, allocations: 23.92 kB / 0.8499 GB, free: 2.328 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.1559, allocations: 0.5938 kB / 0.8499 GB, free: 2.328 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 2.044e-05/0.1559, allocations: 8 kB / 0.8499 GB, free: 2.32 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001453/0.156, allocations: 8.234 kB / 0.8499 GB, free: 2.316 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003179/0.1564, allocations: 113.7 kB / 0.85 GB, free: 2.18 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.993e-05/0.1564, allocations: 59.97 kB / 0.8501 GB, free: 2.102 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 1.554e-05/0.1564, allocations: 4.531 kB / 0.8501 GB, free: 2.098 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.75e-05/0.1565, allocations: 7.438 kB / 0.8501 GB, free: 2.09 MB / 474.8 MB Notification: Performance of SimCode: time 6.11e-07/0.1565, allocations: 0.5625 kB / 0.8501 GB, free: 2.09 MB / 474.8 MB Notification: Performance of Templates: time 0.003002/0.1595, allocations: 430.2 kB / 0.8505 GB, free: 1.746 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10A_InsulinsAndAnalogues.A10AB05_InsulinAspart.InsulinAspart_Rppel2017_PD_gir.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.373361776117235]