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.001134/0.001134, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.001495/0.001495, allocations: 165.9 kB / 23.21 MB, free: 1.332 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 0.9495/0.9495, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.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.6633/0.6633, allocations: 291.2 MB / 0.5382 GB, free: 51.79 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.342e-06/1.342e-06, allocations: 0 / 0.6974 GB, free: 10.37 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.362e-05/2.496e-05, allocations: 8.75 kB / 0.6974 GB, free: 10.36 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Ormrod2000_reference): time 0.001822/0.001847, allocations: 1.814 MB / 0.6991 GB, free: 8.531 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006205/0.002468, allocations: 0.5419 MB / 0.6997 GB, free: 7.984 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.23e-05/0.00252, allocations: 0 / 0.6997 GB, free: 7.984 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.822e-05/0.002618, allocations: 19.86 kB / 0.6997 GB, free: 7.965 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.00029/0.002908, allocations: 75.45 kB / 0.6998 GB, free: 7.891 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001176/0.003026, allocations: 66.89 kB / 0.6998 GB, free: 7.828 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.003171, allocations: 167.3 kB / 0.7 GB, free: 7.664 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.179e-05/0.003213, allocations: 9.312 kB / 0.7 GB, free: 7.656 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.536e-05/0.003308, allocations: 91.78 kB / 0.7001 GB, free: 7.566 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.003486, allocations: 79.77 kB / 0.7002 GB, free: 7.488 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.003507, allocations: 4 kB / 0.7002 GB, free: 7.484 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.53e-05/0.003522, allocations: 8 kB / 0.7002 GB, free: 7.477 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.341e-05/0.003576, allocations: 27.91 kB / 0.7002 GB, free: 7.449 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.468e-05/0.003621, allocations: 43.89 kB / 0.7002 GB, free: 7.406 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.003731, allocations: 107.6 kB / 0.7003 GB, free: 7.301 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.003733, allocations: 0 / 0.7003 GB, free: 7.301 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.072e-06/0.003734, allocations: 0 / 0.7003 GB, free: 7.301 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.003739, allocations: 4 kB / 0.7003 GB, free: 7.297 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.0004906/0.004229, allocations: 387.5 kB / 0.7007 GB, free: 6.883 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.004263, allocations: 12.03 kB / 0.7007 GB, free: 6.871 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.967e-05/0.004302, allocations: 12.84 kB / 0.7007 GB, free: 6.859 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.004426, allocations: 154.1 kB / 0.7009 GB, free: 6.684 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.00444, allocations: 8.375 kB / 0.7009 GB, free: 6.676 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.00446, allocations: 4.375 kB / 0.7009 GB, free: 6.672 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.004614, allocations: 98.19 kB / 0.701 GB, free: 6.57 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.004621, allocations: 3.938 kB / 0.701 GB, free: 6.566 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.004633, allocations: 4 kB / 0.701 GB, free: 6.562 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.004638, allocations: 0 / 0.701 GB, free: 6.562 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.004775, allocations: 83.84 kB / 0.7011 GB, free: 6.48 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003049/0.00508, allocations: 288.4 kB / 0.7013 GB, free: 6.168 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.005285, allocations: 134.4 kB / 0.7015 GB, free: 6.027 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.616e-05/0.005361, allocations: 52.81 kB / 0.7015 GB, free: 5.973 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.005374, allocations: 4 kB / 0.7015 GB, free: 5.969 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001596/0.005534, allocations: 111.3 kB / 0.7016 GB, free: 5.848 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.203e-06/0.005535, allocations: 0 / 0.7016 GB, free: 5.848 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003109/0.005846, allocations: 200.9 kB / 0.7018 GB, free: 5.648 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.163e-05/0.005868, allocations: 55.62 kB / 0.7019 GB, free: 5.582 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.685e-05/0.005945, allocations: 159.6 kB / 0.702 GB, free: 5.418 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.005956, allocations: 33.64 kB / 0.7021 GB, free: 5.379 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.168e-05/0.005998, allocations: 104.1 kB / 0.7022 GB, free: 5.273 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.006018, allocations: 47.58 kB / 0.7022 GB, free: 5.227 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.006056, allocations: 37.7 kB / 0.7022 GB, free: 5.184 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.759e-05/0.006084, allocations: 322.8 kB / 0.7026 GB, free: 4.859 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.332e-05/0.006177, allocations: 77.66 kB / 0.7026 GB, free: 4.777 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.006283, allocations: 216 kB / 0.7028 GB, free: 4.531 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.006434, allocations: 140.8 kB / 0.703 GB, free: 4.387 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.006436, allocations: 3.938 kB / 0.703 GB, free: 4.383 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002132/0.006649, allocations: 240.8 kB / 0.7032 GB, free: 4.129 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.00667, allocations: 29.7 kB / 0.7032 GB, free: 4.094 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.006674, allocations: 4 kB / 0.7032 GB, free: 4.09 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.006685, allocations: 0 / 0.7032 GB, free: 4.09 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.35e-05/0.006778, allocations: 35.91 kB / 0.7033 GB, free: 4.055 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.006783, allocations: 4 kB / 0.7033 GB, free: 4.051 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.398e-05/0.006857, allocations: 19.92 kB / 0.7033 GB, free: 4.031 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.006866, allocations: 0 / 0.7033 GB, free: 4.031 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 5.203e-05/0.006918, allocations: 125.8 kB / 0.7034 GB, free: 3.898 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.131e-05/0.006929, allocations: 19.89 kB / 0.7034 GB, free: 3.879 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002141/0.007143, allocations: 170.3 kB / 0.7036 GB, free: 3.711 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.007146, allocations: 0 / 0.7036 GB, free: 3.711 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.007149, allocations: 4 kB / 0.7036 GB, free: 3.707 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.007153, allocations: 0 / 0.7036 GB, free: 3.707 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.724e-05/0.00723, allocations: 153.2 kB / 0.7037 GB, free: 3.527 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.007231, allocations: 3.938 kB / 0.7037 GB, free: 3.523 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.879e-05/0.00731, allocations: 23.98 kB / 0.7038 GB, free: 3.5 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.007312, allocations: 0 / 0.7038 GB, free: 3.5 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.007322, allocations: 3.984 kB / 0.7038 GB, free: 3.496 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.007325, allocations: 4 kB / 0.7038 GB, free: 3.492 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.007326, allocations: 0 / 0.7038 GB, free: 3.492 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002816/0.007607, allocations: 252.9 kB / 0.704 GB, free: 3.227 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.69e-05/0.007624, allocations: 19.86 kB / 0.704 GB, free: 3.207 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.007641, allocations: 0 / 0.704 GB, free: 3.207 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.268e-05/0.007694, allocations: 16.03 kB / 0.7041 GB, free: 3.191 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.007744, allocations: 15.95 kB / 0.7041 GB, free: 3.176 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.007751, allocations: 8 kB / 0.7041 GB, free: 3.168 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.222e-05/0.007793, allocations: 129.3 kB / 0.7042 GB, free: 3.043 MB / 410.8 MB Notification: Performance of sort global known variables: time 2.8e-07/0.007794, allocations: 0 / 0.7042 GB, free: 3.043 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001304/0.007924, allocations: 32 kB / 0.7042 GB, free: 3.012 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 8.23e-05/0.008006, allocations: 103.3 kB / 0.7043 GB, free: 2.898 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002259/0.008232, allocations: 212.9 kB / 0.7045 GB, free: 2.672 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.008234, allocations: 0 / 0.7045 GB, free: 2.672 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.15e-05/0.008315, allocations: 67.83 kB / 0.7046 GB, free: 2.605 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001963/0.008512, allocations: 47.89 kB / 0.7046 GB, free: 2.559 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004437/0.008955, allocations: 339.1 kB / 0.705 GB, free: 2.195 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.934e-05/0.008995, allocations: 97.81 kB / 0.7051 GB, free: 2.082 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.412e-05/0.009039, allocations: 16.5 kB / 0.7051 GB, free: 2.062 MB / 410.8 MB Notification: Performance of SimCode: time 5.11e-07/0.009039, allocations: 0 / 0.7051 GB, free: 2.062 MB / 410.8 MB Notification: Performance of Templates: time 0.002219/0.01126, allocations: 2.059 MB / 0.7071 GB, free: 32 kB / 410.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 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Ormrod2000_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.3481802605092525]