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.002492/0.002492, allocations: 84.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 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.003286/0.003286, allocations: 169.9 kB / 22.46 MB, free: 2.102 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 1.607/1.607, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 178] 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 1.387/1.387, allocations: 292.9 MB / 0.5392 GB, free: 49.8 MB / 410.7 MB " [Timeout remaining time 178] 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 2.384e-06/2.384e-06, allocations: 0 / 0.6999 GB, free: 8.582 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.834e-05/4.073e-05, allocations: 9.031 kB / 0.6999 GB, free: 8.574 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_reference): time 0.002992/0.003033, allocations: 1.811 MB / 0.7017 GB, free: 6.746 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.00414, allocations: 0.5497 MB / 0.7022 GB, free: 6.191 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.455e-05/0.004235, allocations: 3.938 kB / 0.7022 GB, free: 6.188 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001196/0.004354, allocations: 15.86 kB / 0.7022 GB, free: 6.172 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004317/0.004786, allocations: 63.53 kB / 0.7023 GB, free: 6.109 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002153/0.005001, allocations: 74.64 kB / 0.7023 GB, free: 6.039 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002609/0.005262, allocations: 163.3 kB / 0.7025 GB, free: 5.879 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.295e-05/0.005325, allocations: 9.297 kB / 0.7025 GB, free: 5.871 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002138/0.005539, allocations: 91.78 kB / 0.7026 GB, free: 5.781 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003199/0.005859, allocations: 75.77 kB / 0.7027 GB, free: 5.707 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.261e-05/0.005901, allocations: 8 kB / 0.7027 GB, free: 5.699 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.138e-05/0.005933, allocations: 8 kB / 0.7027 GB, free: 5.691 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 7.68e-05/0.00601, allocations: 35.83 kB / 0.7027 GB, free: 5.656 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 7.912e-05/0.006089, allocations: 39.92 kB / 0.7028 GB, free: 5.617 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.006258, allocations: 111.6 kB / 0.7029 GB, free: 5.508 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.006262, allocations: 0 / 0.7029 GB, free: 5.508 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.603e-06/0.006264, allocations: 0 / 0.7029 GB, free: 5.508 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.00627, allocations: 0 / 0.7029 GB, free: 5.508 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.0008315/0.007101, allocations: 391.5 kB / 0.7032 GB, free: 5.09 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.007141, allocations: 8.031 kB / 0.7032 GB, free: 5.082 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.897e-05/0.00721, allocations: 24.78 kB / 0.7033 GB, free: 5.059 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.007408, allocations: 146.2 kB / 0.7034 GB, free: 4.891 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.00743, allocations: 8.359 kB / 0.7034 GB, free: 4.883 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.3e-05/0.007463, allocations: 8.375 kB / 0.7034 GB, free: 4.875 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002621/0.007726, allocations: 98.17 kB / 0.7035 GB, free: 4.773 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.007738, allocations: 3.938 kB / 0.7035 GB, free: 4.77 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.007756, allocations: 4 kB / 0.7035 GB, free: 4.766 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.007761, allocations: 3.938 kB / 0.7035 GB, free: 4.762 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002671/0.008028, allocations: 83.92 kB / 0.7036 GB, free: 4.68 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004808/0.008509, allocations: 280.4 kB / 0.7039 GB, free: 4.375 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003571/0.008866, allocations: 138.4 kB / 0.704 GB, free: 4.23 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/0.009009, allocations: 52.81 kB / 0.7041 GB, free: 4.176 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.009029, allocations: 3.938 kB / 0.7041 GB, free: 4.172 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002573/0.009286, allocations: 107.3 kB / 0.7042 GB, free: 4.055 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.009288, allocations: 0 / 0.7042 GB, free: 4.055 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0005685/0.009856, allocations: 209.5 kB / 0.7044 GB, free: 3.848 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.009889, allocations: 55.41 kB / 0.7044 GB, free: 3.781 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.01001, allocations: 151.6 kB / 0.7046 GB, free: 3.625 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.01003, allocations: 33.7 kB / 0.7046 GB, free: 3.586 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.676e-05/0.01008, allocations: 104 kB / 0.7047 GB, free: 3.48 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.01011, allocations: 51.62 kB / 0.7047 GB, free: 3.43 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.276e-05/0.01018, allocations: 33.7 kB / 0.7048 GB, free: 3.391 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.008e-05/0.01024, allocations: 326.8 kB / 0.7051 GB, free: 3.062 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/0.01042, allocations: 85.66 kB / 0.7052 GB, free: 2.973 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.01063, allocations: 198.9 kB / 0.7054 GB, free: 2.742 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002822/0.01091, allocations: 138.4 kB / 0.7055 GB, free: 2.602 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.01091, allocations: 7.938 kB / 0.7055 GB, free: 2.594 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004019/0.01132, allocations: 236.8 kB / 0.7057 GB, free: 2.344 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.374e-05/0.01136, allocations: 41.7 kB / 0.7058 GB, free: 2.297 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.01137, allocations: 3.938 kB / 0.7058 GB, free: 2.293 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.01138, allocations: 0 / 0.7058 GB, free: 2.293 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.01155, allocations: 23.98 kB / 0.7058 GB, free: 2.27 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.01156, allocations: 7.984 kB / 0.7058 GB, free: 2.262 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.01173, allocations: 15.92 kB / 0.7058 GB, free: 2.246 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.01175, allocations: 8 kB / 0.7058 GB, free: 2.238 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 8.739e-05/0.01183, allocations: 126.4 kB / 0.7059 GB, free: 2.105 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.007e-05/0.01185, allocations: 11.91 kB / 0.7059 GB, free: 2.094 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003854/0.01224, allocations: 174.4 kB / 0.7061 GB, free: 1.922 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.01224, allocations: 0 / 0.7061 GB, free: 1.922 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.01225, allocations: 3.938 kB / 0.7061 GB, free: 1.918 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.01225, allocations: 3.984 kB / 0.7061 GB, free: 1.914 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.01238, allocations: 145.5 kB / 0.7063 GB, free: 1.742 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.01238, allocations: 3.938 kB / 0.7063 GB, free: 1.738 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.01254, allocations: 27.92 kB / 0.7063 GB, free: 1.711 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.01254, allocations: 4 kB / 0.7063 GB, free: 1.707 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.01256, allocations: 12 kB / 0.7063 GB, free: 1.695 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.01256, allocations: 0 / 0.7063 GB, free: 1.695 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.01256, allocations: 7.922 kB / 0.7063 GB, free: 1.688 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005248/0.01309, allocations: 241 kB / 0.7065 GB, free: 1.434 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.515e-05/0.01311, allocations: 19.81 kB / 0.7066 GB, free: 1.414 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.31e-05/0.01315, allocations: 11.98 kB / 0.7066 GB, free: 1.402 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.01329, allocations: 7.984 kB / 0.7066 GB, free: 1.395 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.063e-05/0.01336, allocations: 15.98 kB / 0.7066 GB, free: 1.379 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.01337, allocations: 8.047 kB / 0.7066 GB, free: 1.371 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.503e-05/0.01345, allocations: 125.8 kB / 0.7067 GB, free: 1.25 MB / 410.8 MB Notification: Performance of sort global known variables: time 9e-08/0.01345, allocations: 0 / 0.7067 GB, free: 1.25 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002109/0.01366, allocations: 32 kB / 0.7068 GB, free: 1.219 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 0.0001144/0.01377, allocations: 111.2 kB / 0.7069 GB, free: 1.098 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004084/0.01418, allocations: 209 kB / 0.7071 GB, free: 0.875 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01418, allocations: 0 / 0.7071 GB, free: 0.875 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001748/0.01436, allocations: 67.89 kB / 0.7071 GB, free: 0.8086 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.01466, allocations: 39.89 kB / 0.7072 GB, free: 0.7695 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007164/0.01537, allocations: 305.5 kB / 0.7075 GB, free: 456 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.62e-05/0.01544, allocations: 97.8 kB / 0.7075 GB, free: 340 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 9.483e-05/0.01554, allocations: 21.48 kB / 0.7076 GB, free: 316 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.734e-05/0.01559, allocations: 20.5 kB / 0.7076 GB, free: 296 kB / 410.8 MB Notification: Performance of SimCode: time 5.61e-07/0.01559, allocations: 0 / 0.7076 GB, free: 296 kB / 410.8 MB Notification: Performance of Templates: time 0.007007/0.0226, allocations: 2.509 MB / 0.71 GB, free: 13.9 MB / 426.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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx_Webber1997_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.911341757047921]