Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx.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.0007071/0.0007071, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008724/0.001579, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007106/0.0007106, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008642/0.001575, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.008/1.008, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1058/1.114, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.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.8005/0.8005, allocations: 291.2 MB / 0.5226 GB, free: 52.49 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03123/0.8317, allocations: 21.04 MB / 0.5431 GB, free: 31.51 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.5445 GB, free: 30.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.265e-05/2.465e-05, allocations: 10.19 kB / 0.5445 GB, free: 30.08 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx): time 0.002936/0.002961, allocations: 1.957 MB / 0.5465 GB, free: 28.12 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009978/0.003959, allocations: 0.5718 MB / 0.547 GB, free: 27.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.065e-05/0.00403, allocations: 0 / 0.547 GB, free: 27.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.431e-05/0.004094, allocations: 15.86 kB / 0.547 GB, free: 27.53 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003059/0.0044, allocations: 67.47 kB / 0.5471 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002219/0.004622, allocations: 71.77 kB / 0.5472 GB, free: 27.39 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002793/0.004901, allocations: 164 kB / 0.5473 GB, free: 27.23 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.136e-05/0.004952, allocations: 13.95 kB / 0.5473 GB, free: 27.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002062/0.005159, allocations: 119.8 kB / 0.5475 GB, free: 27.1 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002412/0.0054, allocations: 75.77 kB / 0.5475 GB, free: 27.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.764e-05/0.005437, allocations: 8 kB / 0.5475 GB, free: 27.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.477e-05/0.005462, allocations: 4 kB / 0.5475 GB, free: 27.01 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.175e-05/0.005524, allocations: 19.94 kB / 0.5476 GB, free: 26.99 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.758e-05/0.005581, allocations: 27.94 kB / 0.5476 GB, free: 26.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.005731, allocations: 87.61 kB / 0.5477 GB, free: 26.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.923e-05/0.00575, allocations: 0 / 0.5477 GB, free: 26.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.005751, allocations: 0 / 0.5477 GB, free: 26.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.857e-05/0.005769, allocations: 4 kB / 0.5477 GB, free: 26.88 MB / 410.7 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.0006973/0.006467, allocations: 384.2 kB / 0.548 GB, free: 26.47 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.928e-05/0.006496, allocations: 8.031 kB / 0.548 GB, free: 26.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.006539, allocations: 16.92 kB / 0.5481 GB, free: 26.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.006683, allocations: 158.8 kB / 0.5482 GB, free: 26.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.006703, allocations: 4.375 kB / 0.5482 GB, free: 26.26 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.006729, allocations: 16.31 kB / 0.5482 GB, free: 26.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.006852, allocations: 81.02 kB / 0.5483 GB, free: 26.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.00686, allocations: 3.938 kB / 0.5483 GB, free: 26.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/0.006868, allocations: 4 kB / 0.5483 GB, free: 26.15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.006873, allocations: 0 / 0.5483 GB, free: 26.15 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.309e-05/0.006916, allocations: 19.98 kB / 0.5483 GB, free: 26.13 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002393/0.007155, allocations: 189.9 kB / 0.5485 GB, free: 25.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.007263, allocations: 118.9 kB / 0.5486 GB, free: 25.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.975e-05/0.007292, allocations: 24.86 kB / 0.5487 GB, free: 25.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.007306, allocations: 4 kB / 0.5487 GB, free: 25.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001241/0.00743, allocations: 94.22 kB / 0.5487 GB, free: 25.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.007432, allocations: 0 / 0.5487 GB, free: 25.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.000147/0.007578, allocations: 85.59 kB / 0.5488 GB, free: 25.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.007604, allocations: 59.62 kB / 0.5489 GB, free: 25.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.664e-05/0.007671, allocations: 146.6 kB / 0.549 GB, free: 25.35 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.007686, allocations: 37.64 kB / 0.5491 GB, free: 25.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.853e-05/0.007714, allocations: 96.06 kB / 0.5491 GB, free: 25.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.007739, allocations: 47.61 kB / 0.5492 GB, free: 25.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.211e-05/0.007782, allocations: 41.64 kB / 0.5492 GB, free: 25.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.328e-05/0.007815, allocations: 326.8 kB / 0.5495 GB, free: 24.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.676e-05/0.007852, allocations: 40.53 kB / 0.5496 GB, free: 24.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.431e-05/0.007906, allocations: 158.1 kB / 0.5497 GB, free: 24.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.095e-05/0.007967, allocations: 94.5 kB / 0.5498 GB, free: 24.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.00797, allocations: 0 / 0.5498 GB, free: 24.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 9.528e-05/0.008065, allocations: 151.8 kB / 0.55 GB, free: 24.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.008093, allocations: 29.7 kB / 0.55 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.008098, allocations: 0 / 0.55 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.008107, allocations: 4 kB / 0.55 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.008216, allocations: 35.97 kB / 0.55 GB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.008219, allocations: 0 / 0.55 GB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.331e-05/0.008292, allocations: 12 kB / 0.55 GB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.008301, allocations: 7.984 kB / 0.5501 GB, free: 24.19 MB / 410.7 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 5.073e-05/0.008352, allocations: 120.6 kB / 0.5502 GB, free: 24.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.288e-05/0.008365, allocations: 11.94 kB / 0.5502 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.008469, allocations: 90.42 kB / 0.5503 GB, free: 23.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.008472, allocations: 7.984 kB / 0.5503 GB, free: 23.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.008473, allocations: 0 / 0.5503 GB, free: 23.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.008477, allocations: 4 kB / 0.5503 GB, free: 23.94 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.328e-05/0.00855, allocations: 101.8 kB / 0.5504 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.008551, allocations: 0 / 0.5504 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.738e-05/0.008629, allocations: 27.92 kB / 0.5504 GB, free: 23.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.276e-05/0.008641, allocations: 7.953 kB / 0.5504 GB, free: 23.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.008644, allocations: 3.938 kB / 0.5504 GB, free: 23.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.008656, allocations: 8 kB / 0.5504 GB, free: 23.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.008657, allocations: 0 / 0.5504 GB, free: 23.78 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.008659, allocations: 3.984 kB / 0.5504 GB, free: 23.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.008795, allocations: 135.3 kB / 0.5506 GB, free: 23.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.008813, allocations: 11.97 kB / 0.5506 GB, free: 23.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.854e-05/0.008861, allocations: 11.98 kB / 0.5506 GB, free: 23.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.008897, allocations: 19.91 kB / 0.5506 GB, free: 23.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.443e-06/0.008903, allocations: 3.375 kB / 0.5506 GB, free: 23.58 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.602e-05/0.008929, allocations: 42.45 kB / 0.5506 GB, free: 23.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008929, allocations: 0 / 0.5506 GB, free: 23.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001124/0.009041, allocations: 32 kB / 0.5507 GB, free: 23.5 MB / 410.7 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 8.204e-05/0.009123, allocations: 88.34 kB / 0.5508 GB, free: 23.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001288/0.009252, allocations: 158 kB / 0.5509 GB, free: 23.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.009257, allocations: 0 / 0.5509 GB, free: 23.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.795e-05/0.009295, allocations: 36.78 kB / 0.5509 GB, free: 23.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.009438, allocations: 46.47 kB / 0.551 GB, free: 23.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/0.01189, allocations: 362.2 kB / 0.5513 GB, free: 22.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.358e-05/0.01191, allocations: 71.83 kB / 0.5514 GB, free: 22.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.364e-05/0.01198, allocations: 13.48 kB / 0.5514 GB, free: 22.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.01208, allocations: 99.28 kB / 0.5515 GB, free: 22.57 MB / 410.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01208, allocations: 0 / 0.5515 GB, free: 22.57 MB / 410.7 MB Notification: Performance of Templates: time 0.003875/0.01595, allocations: 2.738 MB / 0.5542 GB, free: 19.9 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.342889441177249]