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.0009907/0.0009907, allocations: 72.17 kB / 9.906 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001113/0.002104, allocations: 455.9 kB / 10.35 MB, free: 344 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.0006772/0.0006772, allocations: 161.1 kB / 11.24 MB, free: 2.93 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001185/0.001863, allocations: 471.7 kB / 11.7 MB, free: 2.465 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.059/1.059, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09791/1.157, allocations: 53.66 MB / 243.3 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.7575/0.7575, allocations: 291.2 MB / 0.5227 GB, free: 52.78 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04011/0.7977, allocations: 21.05 MB / 0.5432 GB, free: 31.8 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.923e-06/1.923e-06, allocations: 0 / 0.5446 GB, free: 30.41 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.345e-05/1.537e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.4 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Ormrod2000_reference): time 0.002673/0.002688, allocations: 1.944 MB / 0.5465 GB, free: 28.45 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00093/0.003618, allocations: 0.5755 MB / 0.5471 GB, free: 27.87 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.084e-05/0.003679, allocations: 3.938 kB / 0.5471 GB, free: 27.87 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.476e-05/0.003734, allocations: 7.922 kB / 0.5471 GB, free: 27.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002876/0.004022, allocations: 67.42 kB / 0.5471 GB, free: 27.79 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001907/0.004212, allocations: 67.83 kB / 0.5472 GB, free: 27.73 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002303/0.004443, allocations: 172 kB / 0.5474 GB, free: 27.56 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.953e-05/0.004502, allocations: 5.969 kB / 0.5474 GB, free: 27.55 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001961/0.004698, allocations: 115.7 kB / 0.5475 GB, free: 27.44 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002494/0.004948, allocations: 75.78 kB / 0.5476 GB, free: 27.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.417e-05/0.004982, allocations: 8 kB / 0.5476 GB, free: 27.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.042e-05/0.005012, allocations: 8 kB / 0.5476 GB, free: 27.35 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.848e-05/0.005071, allocations: 23.92 kB / 0.5476 GB, free: 27.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.849e-05/0.005129, allocations: 31.94 kB / 0.5476 GB, free: 27.29 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.005279, allocations: 71.73 kB / 0.5477 GB, free: 27.22 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.418e-05/0.005293, allocations: 0 / 0.5477 GB, free: 27.22 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.005294, allocations: 3.938 kB / 0.5477 GB, free: 27.22 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.63e-05/0.00531, allocations: 4 kB / 0.5477 GB, free: 27.21 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.0007648/0.006075, allocations: 392.1 kB / 0.5481 GB, free: 26.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.006118, allocations: 15.89 kB / 0.5481 GB, free: 26.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.255e-05/0.006171, allocations: 12.92 kB / 0.5481 GB, free: 26.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.006356, allocations: 154.8 kB / 0.5483 GB, free: 26.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.006383, allocations: 8.375 kB / 0.5483 GB, free: 26.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.528e-05/0.006418, allocations: 4.375 kB / 0.5483 GB, free: 26.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.00659, allocations: 69.03 kB / 0.5483 GB, free: 26.51 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.0066, allocations: 3.938 kB / 0.5483 GB, free: 26.51 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.006615, allocations: 11.98 kB / 0.5483 GB, free: 26.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.006622, allocations: 0 / 0.5483 GB, free: 26.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.338e-05/0.006686, allocations: 27.98 kB / 0.5484 GB, free: 26.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003444/0.00703, allocations: 201.8 kB / 0.5486 GB, free: 26.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.007185, allocations: 122.9 kB / 0.5487 GB, free: 26.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.135e-05/0.007226, allocations: 12.86 kB / 0.5487 GB, free: 26.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.007249, allocations: 4 kB / 0.5487 GB, free: 26.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001772/0.007426, allocations: 90.23 kB / 0.5488 GB, free: 26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.834e-06/0.007428, allocations: 3.938 kB / 0.5488 GB, free: 26 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002073/0.007635, allocations: 85.66 kB / 0.5489 GB, free: 25.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.007669, allocations: 59.41 kB / 0.5489 GB, free: 25.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.007779, allocations: 146.6 kB / 0.5491 GB, free: 25.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.0078, allocations: 33.7 kB / 0.5491 GB, free: 25.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.098e-05/0.007841, allocations: 96.06 kB / 0.5492 GB, free: 25.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.007875, allocations: 39.84 kB / 0.5492 GB, free: 25.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.475e-05/0.00794, allocations: 49.62 kB / 0.5493 GB, free: 25.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.078e-05/0.008001, allocations: 326.7 kB / 0.5496 GB, free: 25.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.899e-05/0.00806, allocations: 44.53 kB / 0.5496 GB, free: 25.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.547e-05/0.008145, allocations: 162 kB / 0.5498 GB, free: 24.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.287e-05/0.008238, allocations: 88.17 kB / 0.5499 GB, free: 24.78 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.008241, allocations: 0 / 0.5499 GB, free: 24.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001586/0.0084, allocations: 146.6 kB / 0.55 GB, free: 24.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.849e-05/0.008438, allocations: 33.7 kB / 0.55 GB, free: 24.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.008444, allocations: 0 / 0.55 GB, free: 24.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.008458, allocations: 0 / 0.55 GB, free: 24.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.008612, allocations: 31.92 kB / 0.5501 GB, free: 24.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.008616, allocations: 4 kB / 0.5501 GB, free: 24.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.008722, allocations: 18.73 kB / 0.5501 GB, free: 24.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.008734, allocations: 0 / 0.5501 GB, free: 24.53 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 7.239e-05/0.008807, allocations: 132.6 kB / 0.5502 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.008829, allocations: 11.94 kB / 0.5502 GB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001623/0.008991, allocations: 98.39 kB / 0.5503 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.008994, allocations: 0 / 0.5503 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.008996, allocations: 0 / 0.5503 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.009002, allocations: 7.984 kB / 0.5503 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.009112, allocations: 101.8 kB / 0.5504 GB, free: 24.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.009114, allocations: 0 / 0.5504 GB, free: 24.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.009245, allocations: 23.98 kB / 0.5505 GB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.222e-05/0.009267, allocations: 11.95 kB / 0.5505 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.009271, allocations: 3.938 kB / 0.5505 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.009291, allocations: 4 kB / 0.5505 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.009294, allocations: 4 kB / 0.5505 GB, free: 24.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.009295, allocations: 0 / 0.5505 GB, free: 24.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001996/0.009495, allocations: 146.6 kB / 0.5506 GB, free: 23.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.009522, allocations: 3.938 kB / 0.5506 GB, free: 23.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.309e-05/0.009605, allocations: 7.984 kB / 0.5506 GB, free: 23.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.318e-05/0.009658, allocations: 11.98 kB / 0.5506 GB, free: 23.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.009669, allocations: 7.984 kB / 0.5506 GB, free: 23.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.67e-05/0.009715, allocations: 47.97 kB / 0.5507 GB, free: 23.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009715, allocations: 0 / 0.5507 GB, free: 23.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001911/0.009907, allocations: 32 kB / 0.5507 GB, free: 23.83 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.735e-05/0.009994, allocations: 91.97 kB / 0.5508 GB, free: 23.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000195/0.01019, allocations: 150.6 kB / 0.551 GB, free: 23.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.0102, allocations: 4 kB / 0.551 GB, free: 23.56 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.13e-05/0.01028, allocations: 52.77 kB / 0.551 GB, free: 23.51 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.01049, allocations: 50.08 kB / 0.5511 GB, free: 23.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0043/0.01479, allocations: 346.2 kB / 0.5514 GB, free: 23.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.312e-05/0.01484, allocations: 71.83 kB / 0.5515 GB, free: 23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.648e-05/0.01493, allocations: 17.48 kB / 0.5515 GB, free: 22.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.01509, allocations: 91.28 kB / 0.5516 GB, free: 22.9 MB / 410.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01509, allocations: 0 / 0.5516 GB, free: 22.9 MB / 410.7 MB Notification: Performance of Templates: time 0.006261/0.02135, allocations: 2.742 MB / 0.5542 GB, free: 20.23 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.480528075248003]