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.001057/0.001057, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001474/0.002532, allocations: 435.8 kB / 10.31 MB, free: 384 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.001112/0.001112, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001306/0.002418, allocations: 463.6 kB / 11.65 MB, free: 2.516 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.034/1.034, allocations: 177.2 MB / 189.5 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1021/1.136, allocations: 53.66 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.8203/0.8203, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03397/0.8543, 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,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.883e-06/1.883e-06, allocations: 0 / 0.5445 GB, free: 30.54 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.574e-05/1.762e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.54 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx): time 0.001937/0.001954, allocations: 1.952 MB / 0.5464 GB, free: 28.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006826/0.002637, allocations: 0.5719 MB / 0.547 GB, free: 28 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.215e-05/0.002689, allocations: 0 / 0.547 GB, free: 28 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.972e-05/0.002739, allocations: 11.86 kB / 0.547 GB, free: 27.99 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002351/0.002974, allocations: 71.48 kB / 0.5471 GB, free: 27.92 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001478/0.003122, allocations: 63.77 kB / 0.5471 GB, free: 27.86 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.0033, allocations: 172 kB / 0.5473 GB, free: 27.69 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.881e-05/0.003339, allocations: 5.969 kB / 0.5473 GB, free: 27.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.003483, allocations: 115.8 kB / 0.5474 GB, free: 27.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001757/0.003658, allocations: 75.78 kB / 0.5475 GB, free: 27.49 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.00368, allocations: 4 kB / 0.5475 GB, free: 27.49 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.835e-05/0.003699, allocations: 8 kB / 0.5475 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.359e-05/0.003742, allocations: 27.92 kB / 0.5475 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.165e-05/0.003784, allocations: 27.94 kB / 0.5475 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.003901, allocations: 83.61 kB / 0.5476 GB, free: 27.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.416e-05/0.003915, allocations: 4 kB / 0.5476 GB, free: 27.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.003916, allocations: 0 / 0.5476 GB, free: 27.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.003927, allocations: 0 / 0.5476 GB, free: 27.34 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.0005152/0.004443, allocations: 384.2 kB / 0.548 GB, free: 26.94 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.004473, allocations: 12.03 kB / 0.548 GB, free: 26.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.349e-05/0.004517, allocations: 16.91 kB / 0.548 GB, free: 26.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.004644, allocations: 158.8 kB / 0.5482 GB, free: 26.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.004662, allocations: 4.375 kB / 0.5482 GB, free: 26.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.004682, allocations: 8.375 kB / 0.5482 GB, free: 26.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.004805, allocations: 80.97 kB / 0.5483 GB, free: 26.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.004813, allocations: 11.94 kB / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.004823, allocations: 3.984 kB / 0.5483 GB, free: 26.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.004827, allocations: 0 / 0.5483 GB, free: 26.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.134e-05/0.004869, allocations: 23.98 kB / 0.5483 GB, free: 26.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002467/0.005116, allocations: 189.9 kB / 0.5485 GB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.005219, allocations: 118.9 kB / 0.5486 GB, free: 26.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.702e-05/0.005246, allocations: 24.86 kB / 0.5486 GB, free: 26.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.005259, allocations: 0 / 0.5486 GB, free: 26.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001047/0.005363, allocations: 94.22 kB / 0.5487 GB, free: 26.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.012e-06/0.005364, allocations: 0 / 0.5487 GB, free: 26.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001356/0.0055, allocations: 85.66 kB / 0.5488 GB, free: 26.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.005526, allocations: 59.56 kB / 0.5488 GB, free: 25.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.289e-05/0.005589, allocations: 150.6 kB / 0.549 GB, free: 25.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.005603, allocations: 33.64 kB / 0.549 GB, free: 25.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.18e-05/0.005635, allocations: 96.06 kB / 0.5491 GB, free: 25.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.516e-05/0.00566, allocations: 39.62 kB / 0.5491 GB, free: 25.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-05/0.005701, allocations: 49.62 kB / 0.5492 GB, free: 25.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.985e-05/0.00574, allocations: 322.8 kB / 0.5495 GB, free: 25.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.398e-05/0.005774, allocations: 44.53 kB / 0.5495 GB, free: 25.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.135e-05/0.005826, allocations: 162.1 kB / 0.5497 GB, free: 25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.741e-05/0.005883, allocations: 86.81 kB / 0.5498 GB, free: 24.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.005885, allocations: 0 / 0.5498 GB, free: 24.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 8.876e-05/0.005974, allocations: 147.8 kB / 0.5499 GB, free: 24.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.005999, allocations: 33.7 kB / 0.55 GB, free: 24.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.006004, allocations: 0 / 0.55 GB, free: 24.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.696e-06/0.006012, allocations: 0 / 0.55 GB, free: 24.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.006118, allocations: 35.98 kB / 0.55 GB, free: 24.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.00612, allocations: 0 / 0.55 GB, free: 24.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.442e-05/0.006185, allocations: 15.98 kB / 0.55 GB, free: 24.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.006193, allocations: 4 kB / 0.55 GB, free: 24.65 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 4.595e-05/0.006239, allocations: 128.6 kB / 0.5501 GB, free: 24.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.248e-05/0.006251, allocations: 7.938 kB / 0.5501 GB, free: 24.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.006356, allocations: 94.42 kB / 0.5502 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.006359, allocations: 4 kB / 0.5502 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.006362, allocations: 2.75 kB / 0.5502 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.006365, allocations: 3.984 kB / 0.5502 GB, free: 24.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.318e-05/0.006439, allocations: 105.8 kB / 0.5503 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.00644, allocations: 0 / 0.5503 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.037e-05/0.00651, allocations: 27.92 kB / 0.5504 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.43e-05/0.006524, allocations: 7.953 kB / 0.5504 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.006526, allocations: 3.938 kB / 0.5504 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.006537, allocations: 0 / 0.5504 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.006538, allocations: 4 kB / 0.5504 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.006539, allocations: 0 / 0.5504 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.006663, allocations: 139.3 kB / 0.5505 GB, free: 24.08 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.006681, allocations: 7.922 kB / 0.5505 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.756e-05/0.006728, allocations: 16.02 kB / 0.5505 GB, free: 24.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/0.006764, allocations: 11.98 kB / 0.5505 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.00677, allocations: 7.984 kB / 0.5506 GB, free: 24.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.635e-05/0.006797, allocations: 43.06 kB / 0.5506 GB, free: 24 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006797, allocations: 3.938 kB / 0.5506 GB, free: 23.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001107/0.006908, allocations: 32 kB / 0.5506 GB, free: 23.96 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 6.108e-05/0.006969, allocations: 84.41 kB / 0.5507 GB, free: 23.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00012/0.007089, allocations: 148.4 kB / 0.5509 GB, free: 23.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.007092, allocations: 4 kB / 0.5509 GB, free: 23.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.94e-05/0.007131, allocations: 40.97 kB / 0.5509 GB, free: 23.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.007274, allocations: 53.64 kB / 0.5509 GB, free: 23.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002447/0.009721, allocations: 362.1 kB / 0.5513 GB, free: 23.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.606e-05/0.009747, allocations: 75.83 kB / 0.5514 GB, free: 23.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.716e-05/0.009804, allocations: 13.48 kB / 0.5514 GB, free: 23.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.009904, allocations: 87.28 kB / 0.5515 GB, free: 23.04 MB / 410.7 MB Notification: Performance of SimCode: time 6.82e-07/0.009905, allocations: 4 kB / 0.5515 GB, free: 23.04 MB / 410.7 MB Notification: Performance of Templates: time 0.003505/0.01341, allocations: 2.738 MB / 0.5541 GB, free: 20.36 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.3895654901862144]