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.002301/0.002301, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.00227/0.00227, allocations: 170.3 kB / 22.46 MB, free: 2.102 MB / 18.57 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.537/1.537, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.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.362/1.362, allocations: 292.9 MB / 0.5392 GB, free: 49.79 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.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: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.6999 GB, free: 8.586 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.209e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.582 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Ormrod2000_reference): time 0.002248/0.00227, allocations: 1.816 MB / 0.7017 GB, free: 6.75 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008654/0.003135, allocations: 0.5497 MB / 0.7022 GB, free: 6.195 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.976e-05/0.003195, allocations: 7.938 kB / 0.7022 GB, free: 6.188 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.01e-05/0.003285, allocations: 11.86 kB / 0.7022 GB, free: 6.176 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003317/0.003617, allocations: 63.55 kB / 0.7023 GB, free: 6.113 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001648/0.003782, allocations: 67.77 kB / 0.7024 GB, free: 6.047 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.003968, allocations: 167.3 kB / 0.7025 GB, free: 5.883 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.513e-05/0.004013, allocations: 5.312 kB / 0.7025 GB, free: 5.879 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.004138, allocations: 91.78 kB / 0.7026 GB, free: 5.789 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002323/0.00437, allocations: 79.77 kB / 0.7027 GB, free: 5.711 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.766e-05/0.004398, allocations: 8 kB / 0.7027 GB, free: 5.703 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.223e-05/0.00442, allocations: 4 kB / 0.7027 GB, free: 5.699 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.003e-05/0.00448, allocations: 39.83 kB / 0.7027 GB, free: 5.66 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.044e-05/0.00454, allocations: 35.91 kB / 0.7028 GB, free: 5.625 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.004679, allocations: 95.69 kB / 0.7029 GB, free: 5.531 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.004683, allocations: 15.92 kB / 0.7029 GB, free: 5.516 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.222e-06/0.004684, allocations: 0 / 0.7029 GB, free: 5.516 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.004688, allocations: 4 kB / 0.7029 GB, free: 5.512 MB / 410.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.0007179/0.005406, allocations: 387.5 kB / 0.7032 GB, free: 5.098 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.005439, allocations: 12.03 kB / 0.7033 GB, free: 5.086 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.179e-05/0.00549, allocations: 16.78 kB / 0.7033 GB, free: 5.07 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.005654, allocations: 150.2 kB / 0.7034 GB, free: 4.898 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.005672, allocations: 12.38 kB / 0.7034 GB, free: 4.887 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/0.005699, allocations: 4.375 kB / 0.7034 GB, free: 4.883 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002474/0.005946, allocations: 101.4 kB / 0.7035 GB, free: 4.781 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.005958, allocations: 3.938 kB / 0.7035 GB, free: 4.777 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.005974, allocations: 4 kB / 0.7035 GB, free: 4.773 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.005978, allocations: 0 / 0.7035 GB, free: 4.773 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002814/0.006259, allocations: 83.86 kB / 0.7036 GB, free: 4.691 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004056/0.006665, allocations: 276.4 kB / 0.7039 GB, free: 4.391 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003564/0.007021, allocations: 146.3 kB / 0.704 GB, free: 4.238 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/0.007179, allocations: 56.81 kB / 0.7041 GB, free: 4.18 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.007195, allocations: 0 / 0.7041 GB, free: 4.18 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002476/0.007443, allocations: 111.3 kB / 0.7042 GB, free: 4.059 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 5.21e-06/0.007448, allocations: 3.984 kB / 0.7042 GB, free: 4.055 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0005427/0.007991, allocations: 197.7 kB / 0.7044 GB, free: 3.855 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.008025, allocations: 55.39 kB / 0.7044 GB, free: 3.789 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.008156, allocations: 161 kB / 0.7046 GB, free: 3.625 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.008173, allocations: 29.7 kB / 0.7046 GB, free: 3.59 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.147e-05/0.008224, allocations: 100.1 kB / 0.7047 GB, free: 3.488 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.008252, allocations: 43.58 kB / 0.7047 GB, free: 3.445 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.236e-05/0.008315, allocations: 41.7 kB / 0.7048 GB, free: 3.398 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.042e-05/0.008365, allocations: 326.8 kB / 0.7051 GB, free: 3.07 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.008533, allocations: 81.66 kB / 0.7052 GB, free: 2.984 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.008731, allocations: 202.9 kB / 0.7054 GB, free: 2.75 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002717/0.009002, allocations: 141.6 kB / 0.7055 GB, free: 2.605 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.009005, allocations: 3.938 kB / 0.7055 GB, free: 2.602 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003951/0.0094, allocations: 236.8 kB / 0.7057 GB, free: 2.352 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.009424, allocations: 37.69 kB / 0.7058 GB, free: 2.309 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.009428, allocations: 0 / 0.7058 GB, free: 2.309 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.009445, allocations: 7.938 kB / 0.7058 GB, free: 2.301 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.009607, allocations: 23.98 kB / 0.7058 GB, free: 2.277 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.009613, allocations: 0 / 0.7058 GB, free: 2.277 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/0.009773, allocations: 23.92 kB / 0.7058 GB, free: 2.254 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.009786, allocations: 7.984 kB / 0.7058 GB, free: 2.246 MB / 410.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.067e-05/0.009857, allocations: 122.4 kB / 0.7059 GB, free: 2.117 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/0.009879, allocations: 19.84 kB / 0.706 GB, free: 2.098 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003864/0.01027, allocations: 170.4 kB / 0.7061 GB, free: 1.93 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.01027, allocations: 0 / 0.7061 GB, free: 1.93 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.01027, allocations: 3.938 kB / 0.7061 GB, free: 1.926 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.01028, allocations: 0 / 0.7061 GB, free: 1.926 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.01039, allocations: 153.4 kB / 0.7063 GB, free: 1.746 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.01039, allocations: 3.938 kB / 0.7063 GB, free: 1.742 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.01054, allocations: 27.92 kB / 0.7063 GB, free: 1.715 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.01054, allocations: 0 / 0.7063 GB, free: 1.715 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.01056, allocations: 4 kB / 0.7063 GB, free: 1.711 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.01056, allocations: 4 kB / 0.7063 GB, free: 1.707 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01056, allocations: 3.938 kB / 0.7063 GB, free: 1.703 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005013/0.01106, allocations: 256.7 kB / 0.7066 GB, free: 1.438 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.14e-05/0.01108, allocations: 19.81 kB / 0.7066 GB, free: 1.418 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.01111, allocations: 0 / 0.7066 GB, free: 1.418 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.01124, allocations: 15.98 kB / 0.7066 GB, free: 1.402 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.215e-05/0.0113, allocations: 11.97 kB / 0.7066 GB, free: 1.391 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.01132, allocations: 8 kB / 0.7066 GB, free: 1.383 MB / 410.8 MB Notification: Performance of sorting global known variables: time 6.828e-05/0.01138, allocations: 123.1 kB / 0.7067 GB, free: 1.262 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01138, allocations: 4.062 kB / 0.7067 GB, free: 1.258 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002134/0.0116, allocations: 32 kB / 0.7068 GB, free: 1.227 MB / 410.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.0001202/0.01172, allocations: 108.4 kB / 0.7069 GB, free: 1.109 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004061/0.01212, allocations: 208 kB / 0.7071 GB, free: 0.8906 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01212, allocations: 0 / 0.7071 GB, free: 0.8906 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.01229, allocations: 67.88 kB / 0.7071 GB, free: 0.8242 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.01258, allocations: 43.89 kB / 0.7072 GB, free: 0.7812 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006251/0.0132, allocations: 305.5 kB / 0.7075 GB, free: 468 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.221e-05/0.01325, allocations: 97.81 kB / 0.7076 GB, free: 352 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 8.065e-05/0.01333, allocations: 29.5 kB / 0.7076 GB, free: 320 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.308e-05/0.01339, allocations: 16.5 kB / 0.7076 GB, free: 304 kB / 410.8 MB Notification: Performance of SimCode: time 4.21e-07/0.01339, allocations: 0 / 0.7076 GB, free: 304 kB / 410.8 MB Notification: Performance of Templates: time 0.006585/0.01997, allocations: 2.506 MB / 0.7101 GB, free: 13.91 MB / 426.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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Ormrod2000_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.8256737280171365]