Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_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.0008977/0.0008977, allocations: 92.52 kB / 19.94 MB, free: 4.598 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.0008634/0.0008634, allocations: 169.9 kB / 23.21 MB, free: 1.328 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.8616/0.8616, allocations: 177.1 MB / 203.5 MB, free: 5.758 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.6206/0.6206, allocations: 291.2 MB / 0.5382 GB, free: 51.33 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_Webber1997_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.6974 GB, free: 10.34 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.735e-05/2.897e-05, allocations: 6.219 kB / 0.6974 GB, free: 10.34 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_reference): time 0.002921/0.00295, allocations: 1.806 MB / 0.6991 GB, free: 8.512 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009453/0.003895, allocations: 0.5536 MB / 0.6997 GB, free: 7.953 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.052e-05/0.003956, allocations: 0 / 0.6997 GB, free: 7.953 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.671e-05/0.004053, allocations: 15.8 kB / 0.6997 GB, free: 7.938 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003135/0.004366, allocations: 63.55 kB / 0.6997 GB, free: 7.875 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001394/0.004505, allocations: 70.52 kB / 0.6998 GB, free: 7.809 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.004665, allocations: 171.3 kB / 0.7 GB, free: 7.641 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.337e-05/0.004708, allocations: 5.312 kB / 0.7 GB, free: 7.637 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.004819, allocations: 91.78 kB / 0.7001 GB, free: 7.547 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.005012, allocations: 75.77 kB / 0.7001 GB, free: 7.473 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.005035, allocations: 8 kB / 0.7001 GB, free: 7.465 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.67e-05/0.005052, allocations: 8 kB / 0.7002 GB, free: 7.457 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.366e-05/0.005105, allocations: 31.89 kB / 0.7002 GB, free: 7.426 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.67e-05/0.005152, allocations: 47.84 kB / 0.7002 GB, free: 7.379 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.005269, allocations: 103.7 kB / 0.7003 GB, free: 7.277 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.005272, allocations: 0 / 0.7003 GB, free: 7.277 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.693e-06/0.005274, allocations: 0 / 0.7003 GB, free: 7.277 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.00528, allocations: 3.984 kB / 0.7003 GB, free: 7.273 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.0005293/0.005809, allocations: 387.5 kB / 0.7007 GB, free: 6.859 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.005843, allocations: 8.031 kB / 0.7007 GB, free: 6.852 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.351e-05/0.005887, allocations: 20.84 kB / 0.7007 GB, free: 6.832 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.006019, allocations: 146.1 kB / 0.7009 GB, free: 6.664 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.006035, allocations: 8.375 kB / 0.7009 GB, free: 6.656 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.006058, allocations: 8.375 kB / 0.7009 GB, free: 6.648 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.006218, allocations: 98.17 kB / 0.701 GB, free: 6.547 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.006228, allocations: 3.938 kB / 0.701 GB, free: 6.543 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.006239, allocations: 0 / 0.701 GB, free: 6.543 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.006243, allocations: 0 / 0.701 GB, free: 6.543 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.006386, allocations: 83.86 kB / 0.7011 GB, free: 6.461 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000347/0.006733, allocations: 292.4 kB / 0.7013 GB, free: 6.145 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.006951, allocations: 130.4 kB / 0.7015 GB, free: 6.008 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.046e-05/0.007031, allocations: 57.03 kB / 0.7015 GB, free: 5.949 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.007048, allocations: 3.938 kB / 0.7015 GB, free: 5.945 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001741/0.007222, allocations: 111.3 kB / 0.7016 GB, free: 5.824 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.743e-06/0.007224, allocations: 0 / 0.7016 GB, free: 5.824 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.000324/0.007548, allocations: 200.4 kB / 0.7018 GB, free: 5.625 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.00758, allocations: 59.39 kB / 0.7019 GB, free: 5.555 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.007682, allocations: 159.6 kB / 0.702 GB, free: 5.391 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.007697, allocations: 25.7 kB / 0.7021 GB, free: 5.359 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.171e-05/0.007739, allocations: 100.1 kB / 0.7022 GB, free: 5.258 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.434e-05/0.007763, allocations: 51.58 kB / 0.7022 GB, free: 5.207 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.394e-05/0.007807, allocations: 33.7 kB / 0.7022 GB, free: 5.168 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.963e-05/0.007847, allocations: 322.8 kB / 0.7025 GB, free: 4.844 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.00795, allocations: 89.64 kB / 0.7026 GB, free: 4.75 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.008066, allocations: 203 kB / 0.7028 GB, free: 4.516 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.008225, allocations: 148.5 kB / 0.703 GB, free: 4.363 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.008228, allocations: 3.938 kB / 0.703 GB, free: 4.359 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002312/0.008459, allocations: 236.8 kB / 0.7032 GB, free: 4.109 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/0.008489, allocations: 36.03 kB / 0.7032 GB, free: 4.07 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.008494, allocations: 4 kB / 0.7032 GB, free: 4.066 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.008509, allocations: 0 / 0.7032 GB, free: 4.066 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.008622, allocations: 35.92 kB / 0.7033 GB, free: 4.031 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.008628, allocations: 0 / 0.7033 GB, free: 4.031 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.659e-05/0.008704, allocations: 15.92 kB / 0.7033 GB, free: 4.016 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.008714, allocations: 7.984 kB / 0.7033 GB, free: 4.008 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 6.35e-05/0.008777, allocations: 126.3 kB / 0.7034 GB, free: 3.875 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.294e-05/0.00879, allocations: 11.91 kB / 0.7034 GB, free: 3.863 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002304/0.009021, allocations: 174.3 kB / 0.7036 GB, free: 3.691 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.009023, allocations: 0 / 0.7036 GB, free: 3.691 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.009027, allocations: 4.047 kB / 0.7036 GB, free: 3.688 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.009032, allocations: 3.984 kB / 0.7036 GB, free: 3.684 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.692e-05/0.009119, allocations: 157.2 kB / 0.7037 GB, free: 3.5 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.00912, allocations: 3.938 kB / 0.7037 GB, free: 3.496 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.35e-05/0.009204, allocations: 19.98 kB / 0.7038 GB, free: 3.477 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.009207, allocations: 4 kB / 0.7038 GB, free: 3.473 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.009217, allocations: 0 / 0.7038 GB, free: 3.473 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.009218, allocations: 7.938 kB / 0.7038 GB, free: 3.465 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.009219, allocations: 0 / 0.7038 GB, free: 3.465 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002898/0.009509, allocations: 253.9 kB / 0.704 GB, free: 3.199 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.649e-05/0.009526, allocations: 15.88 kB / 0.704 GB, free: 3.184 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.009545, allocations: 4 kB / 0.704 GB, free: 3.18 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.033e-05/0.009605, allocations: 11.98 kB / 0.704 GB, free: 3.168 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/0.009655, allocations: 15.97 kB / 0.7041 GB, free: 3.152 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.009663, allocations: 8.062 kB / 0.7041 GB, free: 3.145 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.515e-05/0.009708, allocations: 129.3 kB / 0.7042 GB, free: 3.02 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.4e-07/0.009708, allocations: 0 / 0.7042 GB, free: 3.02 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001365/0.009845, allocations: 28 kB / 0.7042 GB, free: 2.992 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 9.509e-05/0.00994, allocations: 103.2 kB / 0.7043 GB, free: 2.879 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002368/0.01018, allocations: 215.6 kB / 0.7045 GB, free: 2.652 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.01018, allocations: 0 / 0.7045 GB, free: 2.652 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.428e-05/0.01026, allocations: 67.83 kB / 0.7046 GB, free: 2.586 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001931/0.01046, allocations: 47.89 kB / 0.7046 GB, free: 2.539 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005096/0.01096, allocations: 343.1 kB / 0.705 GB, free: 2.172 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.379e-05/0.01102, allocations: 93.8 kB / 0.7051 GB, free: 2.062 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.446e-05/0.01107, allocations: 20.5 kB / 0.7051 GB, free: 2.039 MB / 410.8 MB Notification: Performance of SimCode: time 7.22e-07/0.01107, allocations: 0 / 0.7051 GB, free: 2.039 MB / 410.8 MB Notification: Performance of Templates: time 0.002487/0.01356, allocations: 2.046 MB / 0.7071 GB, free: 12 kB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_reference > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.470657266676426]