Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Ormrod2000_reference.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.001115/0.001115, 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.00125/0.00125, allocations: 221.3 kB / 23.01 MB, free: 2.941 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.9681/0.9681, allocations: 230.6 MB / 256.8 MB, free: 9.613 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.7511/0.7511, allocations: 312.3 MB / 0.6108 GB, free: 97.04 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.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Ormrod2000_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Ormrod2000_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Ormrod2000_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Ormrod2000_reference") [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.001501/0.001501, allocations: 75.12 kB / 0.7699 GB, free: 19.69 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1197, allocations: 73.99 MB / 0.8421 GB, free: 9.836 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Ormrod2000_reference): time 0.00227/0.122, allocations: 1.82 MB / 0.8439 GB, free: 8.02 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007973/0.1228, allocations: 0.5375 MB / 0.8444 GB, free: 7.48 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.726e-05/0.1228, allocations: 8.531 kB / 0.8445 GB, free: 7.473 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 9.823e-05/0.1229, allocations: 11.86 kB / 0.8445 GB, free: 7.461 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003465/0.1233, allocations: 73.34 kB / 0.8445 GB, free: 7.391 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001424/0.1234, allocations: 57.77 kB / 0.8446 GB, free: 7.336 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.000185/0.1236, allocations: 164 kB / 0.8447 GB, free: 7.176 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.244e-05/0.1236, allocations: 5.297 kB / 0.8448 GB, free: 7.172 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 8.796e-05/0.1237, allocations: 72.39 kB / 0.8448 GB, free: 7.102 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002136/0.1239, allocations: 84.25 kB / 0.8449 GB, free: 7.02 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.124, allocations: 8 kB / 0.8449 GB, free: 7.012 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.008e-05/0.124, allocations: 8.5 kB / 0.8449 GB, free: 7.004 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 6.083e-05/0.124, allocations: 32.39 kB / 0.845 GB, free: 6.973 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 6.499e-05/0.1241, allocations: 48.41 kB / 0.845 GB, free: 6.926 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.1242, allocations: 91.58 kB / 0.8451 GB, free: 6.836 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.1242, allocations: 0.6562 kB / 0.8451 GB, free: 6.836 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1242, allocations: 4 kB / 0.8451 GB, free: 6.832 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.932e-06/0.1242, allocations: 4.656 kB / 0.8451 GB, free: 6.828 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006119/0.1249, allocations: 393.3 kB / 0.8455 GB, free: 6.41 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.1249, allocations: 12.02 kB / 0.8455 GB, free: 6.398 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.642e-05/0.1249, allocations: 17.44 kB / 0.8455 GB, free: 6.383 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.1251, allocations: 154.8 kB / 0.8456 GB, free: 6.207 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.1251, allocations: 4.906 kB / 0.8456 GB, free: 6.203 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.1252, allocations: 16.72 kB / 0.8457 GB, free: 6.188 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.1254, allocations: 101.4 kB / 0.8458 GB, free: 6.086 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.1254, allocations: 0.625 kB / 0.8458 GB, free: 6.086 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.1254, allocations: 4 kB / 0.8458 GB, free: 6.082 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1254, allocations: 0.5312 kB / 0.8458 GB, free: 6.082 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.1255, allocations: 84.58 kB / 0.8458 GB, free: 6 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003824/0.1259, allocations: 277 kB / 0.8461 GB, free: 5.699 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002483/0.1262, allocations: 127.6 kB / 0.8462 GB, free: 5.566 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.536e-05/0.1262, allocations: 53.55 kB / 0.8463 GB, free: 5.512 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.1263, allocations: 0.625 kB / 0.8463 GB, free: 5.512 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001863/0.1264, allocations: 119.8 kB / 0.8464 GB, free: 5.383 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 3.516e-06/0.1265, allocations: 4.578 kB / 0.8464 GB, free: 5.379 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003588/0.1268, allocations: 194.9 kB / 0.8466 GB, free: 5.184 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.1268, allocations: 55.91 kB / 0.8466 GB, free: 5.117 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.127, allocations: 161.5 kB / 0.8468 GB, free: 4.953 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.127, allocations: 30.33 kB / 0.8468 GB, free: 4.918 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.127, allocations: 108.6 kB / 0.8469 GB, free: 4.809 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.1271, allocations: 47.58 kB / 0.847 GB, free: 4.762 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.681e-05/0.1271, allocations: 38.7 kB / 0.847 GB, free: 4.719 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.943e-05/0.1272, allocations: 326.8 kB / 0.8473 GB, free: 4.391 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.1273, allocations: 90.2 kB / 0.8474 GB, free: 4.297 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.1275, allocations: 205.1 kB / 0.8476 GB, free: 4.062 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.1276, allocations: 143.9 kB / 0.8477 GB, free: 3.914 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1276, allocations: 0 / 0.8477 GB, free: 3.914 MB / 474.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000258/0.1279, allocations: 236.6 kB / 0.848 GB, free: 3.668 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.181e-05/0.1279, allocations: 38.31 kB / 0.848 GB, free: 3.625 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1279, allocations: 0 / 0.848 GB, free: 3.625 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1279, allocations: 0.5 kB / 0.848 GB, free: 3.625 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.1281, allocations: 32.42 kB / 0.848 GB, free: 3.594 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1281, allocations: 4.5 kB / 0.848 GB, free: 3.59 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.133e-05/0.1281, allocations: 20.47 kB / 0.8481 GB, free: 3.57 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.1282, allocations: 4.688 kB / 0.8481 GB, free: 3.566 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: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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 8.062e-05/0.1282, allocations: 130.4 kB / 0.8482 GB, free: 3.43 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.417e-05/0.1282, allocations: 8.547 kB / 0.8482 GB, free: 3.422 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002705/0.1285, allocations: 175 kB / 0.8484 GB, free: 3.246 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1285, allocations: 0.625 kB / 0.8484 GB, free: 3.246 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1285, allocations: 0 / 0.8484 GB, free: 3.246 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1285, allocations: 4.594 kB / 0.8484 GB, free: 3.242 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.1286, allocations: 153.7 kB / 0.8485 GB, free: 3.062 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1286, allocations: 4 kB / 0.8485 GB, free: 3.059 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.032e-05/0.1287, allocations: 24.48 kB / 0.8485 GB, free: 3.035 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1287, allocations: 0.5625 kB / 0.8485 GB, free: 3.035 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.1288, allocations: 4.594 kB / 0.8485 GB, free: 3.031 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.1288, allocations: 0 / 0.8485 GB, free: 3.031 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1288, allocations: 0.5625 kB / 0.8485 GB, free: 3.031 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003424/0.1291, allocations: 260.7 kB / 0.8488 GB, free: 2.762 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.119e-05/0.1291, allocations: 8.578 kB / 0.8488 GB, free: 2.754 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.1291, allocations: 4 kB / 0.8488 GB, free: 2.75 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.838e-05/0.1292, allocations: 12.61 kB / 0.8488 GB, free: 2.738 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.59e-05/0.1293, allocations: 16.59 kB / 0.8488 GB, free: 2.723 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.1293, allocations: 8.562 kB / 0.8488 GB, free: 2.715 MB / 474.8 MB Notification: Performance of sorting global known variables: time 5.846e-05/0.1293, allocations: 121.9 kB / 0.849 GB, free: 2.598 MB / 474.8 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1293, allocations: 0.625 kB / 0.849 GB, free: 2.598 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001398/0.1295, allocations: 32 kB / 0.849 GB, free: 2.566 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (q[1],qAbsorbed) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001106/0.1296, allocations: 114.8 kB / 0.8491 GB, free: 2.449 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0002738/0.1298, allocations: 210.3 kB / 0.8493 GB, free: 2.227 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1298, allocations: 3.938 kB / 0.8493 GB, free: 2.223 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 9.669e-05/0.1299, allocations: 60.45 kB / 0.8494 GB, free: 2.164 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.1301, allocations: 42.94 kB / 0.8494 GB, free: 2.125 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005285/0.1307, allocations: 369.4 kB / 0.8498 GB, free: 1.734 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.037e-05/0.1307, allocations: 94.36 kB / 0.8498 GB, free: 1.621 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.703e-05/0.1308, allocations: 24.52 kB / 0.8499 GB, free: 1.602 MB / 474.8 MB Notification: Performance of SimCode: time 7.51e-07/0.1308, allocations: 0 / 0.8499 GB, free: 1.602 MB / 474.8 MB Notification: Performance of Templates: time 0.002744/0.1335, allocations: 2.044 MB / 0.8519 GB, free: 15.65 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Ormrod2000_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Ormrod2000_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Ormrod2000_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Ormrod2000_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Ormrod2000_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Ormrod2000_reference > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Ormrod2000_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.9613584615290165]