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.001028/0.001028, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001473/0.002501, 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.001043/0.001043, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001063/0.002106, 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.066/1.066, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1034/1.169, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.7195/0.7195, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03631/0.7558, allocations: 21.04 MB / 0.5431 GB, free: 31.95 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: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.5445 GB, free: 30.56 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.246e-05/1.396e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Ormrod2000_reference): time 0.001756/0.00177, allocations: 1.946 MB / 0.5464 GB, free: 28.6 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006252/0.002395, allocations: 0.569 MB / 0.547 GB, free: 28.03 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.176e-05/0.002447, allocations: 0 / 0.547 GB, free: 28.03 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.946e-05/0.002496, allocations: 11.86 kB / 0.547 GB, free: 28.02 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002147/0.002711, allocations: 67.48 kB / 0.5471 GB, free: 27.95 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001295/0.002841, allocations: 71.77 kB / 0.5471 GB, free: 27.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001811/0.003022, allocations: 168 kB / 0.5473 GB, free: 27.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.323e-05/0.003065, allocations: 9.953 kB / 0.5473 GB, free: 27.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.003209, allocations: 107.8 kB / 0.5474 GB, free: 27.6 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001877/0.003397, allocations: 75.78 kB / 0.5475 GB, free: 27.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.003419, allocations: 8 kB / 0.5475 GB, free: 27.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.698e-05/0.003436, allocations: 8 kB / 0.5475 GB, free: 27.51 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.725e-05/0.003483, allocations: 27.92 kB / 0.5475 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.221e-05/0.003525, allocations: 27.94 kB / 0.5475 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.003645, allocations: 83.62 kB / 0.5476 GB, free: 27.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.579e-05/0.00366, allocations: 0 / 0.5476 GB, free: 27.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.003661, allocations: 0 / 0.5476 GB, free: 27.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.662e-05/0.003678, allocations: 0 / 0.5476 GB, free: 27.37 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.0005593/0.004237, allocations: 384.1 kB / 0.548 GB, free: 26.97 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.004267, allocations: 19.89 kB / 0.548 GB, free: 26.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/0.004306, allocations: 16.92 kB / 0.548 GB, free: 26.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.004442, allocations: 153.8 kB / 0.5482 GB, free: 26.76 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.004458, allocations: 4.375 kB / 0.5482 GB, free: 26.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.004479, allocations: 8.375 kB / 0.5482 GB, free: 26.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.00461, allocations: 80.95 kB / 0.5483 GB, free: 26.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.00462, allocations: 3.938 kB / 0.5483 GB, free: 26.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.395e-06/0.004629, allocations: 0 / 0.5483 GB, free: 26.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.004634, allocations: 0 / 0.5483 GB, free: 26.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.625e-05/0.00468, allocations: 31.97 kB / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002691/0.004949, allocations: 201.9 kB / 0.5485 GB, free: 26.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.005067, allocations: 122.8 kB / 0.5486 GB, free: 26.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.011e-05/0.005097, allocations: 24.84 kB / 0.5486 GB, free: 26.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.005112, allocations: 0 / 0.5486 GB, free: 26.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001287/0.005241, allocations: 86.25 kB / 0.5487 GB, free: 26.15 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.005242, allocations: 0 / 0.5487 GB, free: 26.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001506/0.005393, allocations: 85.64 kB / 0.5488 GB, free: 26.06 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.005421, allocations: 63.34 kB / 0.5488 GB, free: 25.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.989e-05/0.00549, allocations: 146.9 kB / 0.549 GB, free: 25.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.005502, allocations: 29.7 kB / 0.549 GB, free: 25.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.39e-05/0.005536, allocations: 100 kB / 0.5491 GB, free: 25.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/0.005571, allocations: 51.61 kB / 0.5492 GB, free: 25.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.191e-05/0.005613, allocations: 37.64 kB / 0.5492 GB, free: 25.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.037e-05/0.005653, allocations: 326.8 kB / 0.5495 GB, free: 25.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.688e-05/0.00569, allocations: 48.52 kB / 0.5496 GB, free: 25.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.48e-05/0.005745, allocations: 154.1 kB / 0.5497 GB, free: 25.03 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.118e-05/0.005806, allocations: 80.17 kB / 0.5498 GB, free: 24.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.005809, allocations: 4 kB / 0.5498 GB, free: 24.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000103/0.005912, allocations: 154.6 kB / 0.5499 GB, free: 24.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.264e-05/0.005954, allocations: 33.69 kB / 0.55 GB, free: 24.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.005962, allocations: 0 / 0.55 GB, free: 24.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.005978, allocations: 0 / 0.55 GB, free: 24.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.006115, allocations: 35.98 kB / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.006119, allocations: 0 / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.679e-05/0.006186, allocations: 15.05 kB / 0.55 GB, free: 24.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.006195, allocations: 8 kB / 0.55 GB, free: 24.68 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.569e-05/0.006251, allocations: 132.5 kB / 0.5501 GB, free: 24.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.434e-05/0.006265, allocations: 15.92 kB / 0.5502 GB, free: 24.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/0.006368, allocations: 90.42 kB / 0.5502 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.006371, allocations: 4 kB / 0.5502 GB, free: 24.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.006373, allocations: 0 / 0.5502 GB, free: 24.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.006376, allocations: 0 / 0.5502 GB, free: 24.42 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.348e-05/0.00645, allocations: 97.77 kB / 0.5503 GB, free: 24.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.006451, allocations: 0 / 0.5503 GB, free: 24.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.176e-05/0.006533, allocations: 27.92 kB / 0.5504 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.398e-05/0.006547, allocations: 11.94 kB / 0.5504 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.006549, allocations: 7.938 kB / 0.5504 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.006563, allocations: 4 kB / 0.5504 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.006564, allocations: 0 / 0.5504 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.006566, allocations: 0 / 0.5504 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.006703, allocations: 138.7 kB / 0.5505 GB, free: 24.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.00672, allocations: 7.938 kB / 0.5505 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.614e-05/0.006767, allocations: 11.98 kB / 0.5505 GB, free: 24.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.76e-05/0.006804, allocations: 15.97 kB / 0.5506 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.00681, allocations: 0 / 0.5506 GB, free: 24.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.863e-05/0.006838, allocations: 43.92 kB / 0.5506 GB, free: 24.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006838, allocations: 11.91 kB / 0.5506 GB, free: 24.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001138/0.006952, allocations: 32 kB / 0.5506 GB, free: 23.98 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 7.303e-05/0.007025, allocations: 88.36 kB / 0.5507 GB, free: 23.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001323/0.007158, allocations: 150.6 kB / 0.5509 GB, free: 23.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.007163, allocations: 4 kB / 0.5509 GB, free: 23.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.133e-05/0.007204, allocations: 32.84 kB / 0.5509 GB, free: 23.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001479/0.007352, allocations: 63.34 kB / 0.551 GB, free: 23.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002458/0.00981, allocations: 354.2 kB / 0.5513 GB, free: 23.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.52e-05/0.009845, allocations: 67.84 kB / 0.5514 GB, free: 23.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.102e-05/0.009916, allocations: 21.52 kB / 0.5514 GB, free: 23.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.01003, allocations: 87.34 kB / 0.5515 GB, free: 23.06 MB / 410.7 MB Notification: Performance of SimCode: time 1.413e-06/0.01003, allocations: 3.938 kB / 0.5515 GB, free: 23.05 MB / 410.7 MB Notification: Performance of Templates: time 0.004323/0.01435, allocations: 2.747 MB / 0.5542 GB, free: 20.38 MB / 410.7 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: 3.401034620590508]