Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_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.0009282/0.0009282, allocations: 112.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.001542/0.001542, allocations: 212.4 kB / 23 MB, free: 2.961 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.8712/0.8712, allocations: 230.6 MB / 256.8 MB, free: 9.59 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.6419/0.6419, allocations: 312.3 MB / 0.6109 GB, free: 97.03 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_Webber1997_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_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.00142/0.00142, allocations: 77.91 kB / 0.7699 GB, free: 19.71 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.111, allocations: 73.99 MB / 0.8422 GB, free: 9.852 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_reference): time 0.003336/0.1144, allocations: 1.809 MB / 0.8439 GB, free: 8.047 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008028/0.1152, allocations: 0.546 MB / 0.8445 GB, free: 7.5 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.034e-05/0.1152, allocations: 0 / 0.8445 GB, free: 7.5 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.1153, allocations: 12.48 kB / 0.8445 GB, free: 7.488 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003448/0.1157, allocations: 64.8 kB / 0.8445 GB, free: 7.426 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000184/0.1159, allocations: 68.17 kB / 0.8446 GB, free: 7.363 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002288/0.1161, allocations: 163.8 kB / 0.8447 GB, free: 7.203 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.397e-05/0.1161, allocations: 9.891 kB / 0.8448 GB, free: 7.195 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.1162, allocations: 72.2 kB / 0.8448 GB, free: 7.125 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002518/0.1165, allocations: 88.14 kB / 0.8449 GB, free: 7.039 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.306e-05/0.1165, allocations: 7.938 kB / 0.8449 GB, free: 7.031 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.238e-05/0.1165, allocations: 8.656 kB / 0.8449 GB, free: 7.023 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 6.254e-05/0.1166, allocations: 36.42 kB / 0.845 GB, free: 6.988 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 6.421e-05/0.1167, allocations: 43.8 kB / 0.845 GB, free: 6.945 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.1168, allocations: 100.2 kB / 0.8451 GB, free: 6.848 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1168, allocations: 0 / 0.8451 GB, free: 6.848 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.736e-06/0.1168, allocations: 0.6562 kB / 0.8451 GB, free: 6.848 MB / 474.8 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.1168, allocations: 0 / 0.8451 GB, free: 6.848 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.0006427/0.1175, allocations: 393.4 kB / 0.8455 GB, free: 6.43 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.1175, allocations: 16.56 kB / 0.8455 GB, free: 6.414 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.073e-05/0.1176, allocations: 12.84 kB / 0.8455 GB, free: 6.402 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.1177, allocations: 151.5 kB / 0.8456 GB, free: 6.23 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.1177, allocations: 4.375 kB / 0.8457 GB, free: 6.227 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.71e-05/0.1177, allocations: 16.84 kB / 0.8457 GB, free: 6.211 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.1179, allocations: 102.2 kB / 0.8458 GB, free: 6.105 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.1179, allocations: 0.6562 kB / 0.8458 GB, free: 6.105 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.1179, allocations: 4 kB / 0.8458 GB, free: 6.102 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.1179, allocations: 4.625 kB / 0.8458 GB, free: 6.098 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.1181, allocations: 80.45 kB / 0.8458 GB, free: 6.02 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/0.1184, allocations: 277 kB / 0.8461 GB, free: 5.719 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/0.1187, allocations: 135.7 kB / 0.8462 GB, free: 5.578 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.013e-05/0.1188, allocations: 45.42 kB / 0.8463 GB, free: 5.531 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.1188, allocations: 4.625 kB / 0.8463 GB, free: 5.527 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001753/0.1189, allocations: 119.9 kB / 0.8464 GB, free: 5.398 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.1189, allocations: 0.5938 kB / 0.8464 GB, free: 5.398 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003402/0.1193, allocations: 194.2 kB / 0.8466 GB, free: 5.207 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.1193, allocations: 59.89 kB / 0.8466 GB, free: 5.137 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.1194, allocations: 157.5 kB / 0.8468 GB, free: 4.977 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.1195, allocations: 30.23 kB / 0.8468 GB, free: 4.941 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.849e-05/0.1195, allocations: 104.7 kB / 0.8469 GB, free: 4.836 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.1195, allocations: 47.58 kB / 0.847 GB, free: 4.789 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.987e-05/0.1196, allocations: 38.2 kB / 0.847 GB, free: 4.746 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 8.834e-05/0.1197, allocations: 331.3 kB / 0.8473 GB, free: 4.414 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.1198, allocations: 86.22 kB / 0.8474 GB, free: 4.324 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.12, allocations: 204.9 kB / 0.8476 GB, free: 4.09 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.1201, allocations: 145.5 kB / 0.8477 GB, free: 3.941 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.1201, allocations: 0.5625 kB / 0.8477 GB, free: 3.941 MB / 474.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000263/0.1204, allocations: 242 kB / 0.848 GB, free: 3.688 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.407e-05/0.1204, allocations: 34.28 kB / 0.848 GB, free: 3.648 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.1204, allocations: 0 / 0.848 GB, free: 3.648 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.1205, allocations: 4.688 kB / 0.848 GB, free: 3.645 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.1206, allocations: 32.52 kB / 0.848 GB, free: 3.613 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.1206, allocations: 224 / 0.848 GB, free: 3.613 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.415e-05/0.1207, allocations: 20.59 kB / 0.8481 GB, free: 3.594 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.1207, allocations: 12.7 kB / 0.8481 GB, free: 3.582 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 7.735e-05/0.1207, allocations: 122.4 kB / 0.8482 GB, free: 3.453 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.1208, allocations: 7.953 kB / 0.8482 GB, free: 3.445 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002582/0.121, allocations: 179.4 kB / 0.8484 GB, free: 3.266 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.121, allocations: 4.625 kB / 0.8484 GB, free: 3.262 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.121, allocations: 0 / 0.8484 GB, free: 3.262 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.121, allocations: 0.5 kB / 0.8484 GB, free: 3.262 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.1211, allocations: 157.6 kB / 0.8485 GB, free: 3.078 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1211, allocations: 0 / 0.8485 GB, free: 3.078 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.841e-05/0.1212, allocations: 24.48 kB / 0.8485 GB, free: 3.055 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1212, allocations: 0.625 kB / 0.8485 GB, free: 3.055 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.1212, allocations: 4.719 kB / 0.8486 GB, free: 3.051 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1212, allocations: 0 / 0.8486 GB, free: 3.051 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.1212, allocations: 4.484 kB / 0.8486 GB, free: 3.047 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003634/0.1216, allocations: 262.1 kB / 0.8488 GB, free: 2.773 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.788e-05/0.1216, allocations: 8.578 kB / 0.8488 GB, free: 2.766 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.1216, allocations: 0 / 0.8488 GB, free: 2.766 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.736e-05/0.1217, allocations: 16.58 kB / 0.8488 GB, free: 2.75 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.387e-05/0.1218, allocations: 12.59 kB / 0.8488 GB, free: 2.738 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.1218, allocations: 4 kB / 0.8488 GB, free: 2.734 MB / 474.8 MB Notification: Performance of sorting global known variables: time 6.053e-05/0.1218, allocations: 122.5 kB / 0.849 GB, free: 2.617 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1218, allocations: 0.5625 kB / 0.849 GB, free: 2.617 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001362/0.122, allocations: 32 kB / 0.849 GB, free: 2.586 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.0001095/0.1221, allocations: 112.5 kB / 0.8491 GB, free: 2.469 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0002737/0.1223, allocations: 210.2 kB / 0.8493 GB, free: 2.246 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1223, allocations: 0 / 0.8493 GB, free: 2.246 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 9.663e-05/0.1224, allocations: 65.66 kB / 0.8494 GB, free: 2.184 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/0.1227, allocations: 52.81 kB / 0.8494 GB, free: 2.137 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005656/0.1232, allocations: 360.4 kB / 0.8498 GB, free: 1.754 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.223e-05/0.1233, allocations: 103.4 kB / 0.8499 GB, free: 1.633 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.577e-05/0.1233, allocations: 17.5 kB / 0.8499 GB, free: 1.621 MB / 474.8 MB Notification: Performance of SimCode: time 6.41e-07/0.1233, allocations: 0 / 0.8499 GB, free: 1.621 MB / 474.8 MB Notification: Performance of Templates: time 0.003007/0.1263, allocations: 2.043 MB / 0.8519 GB, free: 15.67 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_reference > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.796740874648094]