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.002347/0.002347, 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.002926/0.002926, allocations: 170.3 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.636/1.636, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.408/1.408, allocations: 292.9 MB / 0.5392 GB, free: 50.19 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,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.443e-06/1.443e-06, allocations: 0 / 0.6999 GB, free: 8.559 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.295e-05/2.44e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.555 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx): time 0.003281/0.003306, allocations: 1.83 MB / 0.7017 GB, free: 6.707 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.004371, allocations: 0.546 MB / 0.7022 GB, free: 6.156 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.278e-05/0.004463, allocations: 0 / 0.7022 GB, free: 6.156 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.004573, allocations: 19.86 kB / 0.7022 GB, free: 6.137 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000406/0.004979, allocations: 67.53 kB / 0.7023 GB, free: 6.07 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002034/0.005182, allocations: 67.02 kB / 0.7024 GB, free: 6.008 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002381/0.005421, allocations: 171.3 kB / 0.7025 GB, free: 5.84 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.62e-05/0.005477, allocations: 5.312 kB / 0.7025 GB, free: 5.836 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.005644, allocations: 95.72 kB / 0.7026 GB, free: 5.742 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000249/0.005893, allocations: 75.83 kB / 0.7027 GB, free: 5.668 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.383e-05/0.005927, allocations: 4 kB / 0.7027 GB, free: 5.664 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.805e-05/0.005965, allocations: 8 kB / 0.7027 GB, free: 5.656 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.252e-05/0.006027, allocations: 31.84 kB / 0.7028 GB, free: 5.625 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.536e-05/0.006093, allocations: 47.83 kB / 0.7028 GB, free: 5.578 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.006244, allocations: 107.6 kB / 0.7029 GB, free: 5.473 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.006248, allocations: 0 / 0.7029 GB, free: 5.473 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.213e-06/0.006249, allocations: 0 / 0.7029 GB, free: 5.473 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.006256, allocations: 4 kB / 0.7029 GB, free: 5.469 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.0007801/0.007036, allocations: 387.5 kB / 0.7033 GB, free: 5.055 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.007076, allocations: 15.89 kB / 0.7033 GB, free: 5.039 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.345e-05/0.007139, allocations: 12.84 kB / 0.7033 GB, free: 5.027 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.007331, allocations: 150.2 kB / 0.7034 GB, free: 4.855 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.007348, allocations: 8.375 kB / 0.7035 GB, free: 4.848 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/0.007377, allocations: 8.375 kB / 0.7035 GB, free: 4.84 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.007633, allocations: 98.19 kB / 0.7036 GB, free: 4.738 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.007644, allocations: 3.938 kB / 0.7036 GB, free: 4.734 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.007659, allocations: 3.938 kB / 0.7036 GB, free: 4.73 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.007664, allocations: 4 kB / 0.7036 GB, free: 4.727 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002835/0.007948, allocations: 87.91 kB / 0.7036 GB, free: 4.641 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004392/0.008387, allocations: 276.4 kB / 0.7039 GB, free: 4.34 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003503/0.008737, allocations: 138.4 kB / 0.704 GB, free: 4.195 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/0.008898, allocations: 56.8 kB / 0.7041 GB, free: 4.137 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.008917, allocations: 7.938 kB / 0.7041 GB, free: 4.129 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002456/0.009162, allocations: 111.3 kB / 0.7042 GB, free: 4.008 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.462e-06/0.009164, allocations: 0 / 0.7042 GB, free: 4.008 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0005464/0.00971, allocations: 193.7 kB / 0.7044 GB, free: 3.812 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.009737, allocations: 59.41 kB / 0.7045 GB, free: 3.742 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.009865, allocations: 157 kB / 0.7046 GB, free: 3.582 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.009883, allocations: 29.64 kB / 0.7046 GB, free: 3.547 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.097e-05/0.009934, allocations: 108.1 kB / 0.7047 GB, free: 3.438 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.009964, allocations: 43.64 kB / 0.7048 GB, free: 3.395 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.478e-05/0.01003, allocations: 37.7 kB / 0.7048 GB, free: 3.352 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.234e-05/0.01008, allocations: 326.8 kB / 0.7051 GB, free: 3.023 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.01025, allocations: 77.66 kB / 0.7052 GB, free: 2.941 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/0.01046, allocations: 202.9 kB / 0.7054 GB, free: 2.707 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002984/0.01076, allocations: 145.3 kB / 0.7055 GB, free: 2.559 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.01076, allocations: 3.938 kB / 0.7055 GB, free: 2.555 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004145/0.01118, allocations: 236.8 kB / 0.7058 GB, free: 2.305 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.0112, allocations: 33.64 kB / 0.7058 GB, free: 2.266 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.01121, allocations: 0 / 0.7058 GB, free: 2.266 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.01123, allocations: 4 kB / 0.7058 GB, free: 2.262 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.0114, allocations: 31.97 kB / 0.7058 GB, free: 2.23 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.0114, allocations: 4 kB / 0.7058 GB, free: 2.227 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.01157, allocations: 19.86 kB / 0.7058 GB, free: 2.207 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.01159, allocations: 8 kB / 0.7059 GB, free: 2.199 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.957e-05/0.01168, allocations: 130.4 kB / 0.706 GB, free: 2.062 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.326e-05/0.0117, allocations: 15.91 kB / 0.706 GB, free: 2.047 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003967/0.0121, allocations: 165.4 kB / 0.7062 GB, free: 1.887 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.0121, allocations: 4 kB / 0.7062 GB, free: 1.883 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.01211, allocations: 4.219 kB / 0.7062 GB, free: 1.879 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.01211, allocations: 0 / 0.7062 GB, free: 1.879 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.01223, allocations: 153.2 kB / 0.7063 GB, free: 1.699 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01223, allocations: 3.938 kB / 0.7063 GB, free: 1.695 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001584/0.01239, allocations: 27.97 kB / 0.7063 GB, free: 1.668 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.0124, allocations: 0 / 0.7063 GB, free: 1.668 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.01241, allocations: 0 / 0.7063 GB, free: 1.668 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.01241, allocations: 7.938 kB / 0.7063 GB, free: 1.66 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.01242, allocations: 4 kB / 0.7063 GB, free: 1.656 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005323/0.01295, allocations: 249 kB / 0.7066 GB, free: 1.395 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.781e-05/0.01298, allocations: 23.8 kB / 0.7066 GB, free: 1.371 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.013, allocations: 0 / 0.7066 GB, free: 1.371 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.01313, allocations: 15.98 kB / 0.7066 GB, free: 1.355 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.835e-05/0.0132, allocations: 15.97 kB / 0.7066 GB, free: 1.34 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.01321, allocations: 4 kB / 0.7066 GB, free: 1.336 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.923e-05/0.01329, allocations: 123.1 kB / 0.7068 GB, free: 1.215 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01329, allocations: 0 / 0.7068 GB, free: 1.215 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002046/0.0135, allocations: 32 kB / 0.7068 GB, free: 1.184 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.0001103/0.01361, allocations: 103.2 kB / 0.7069 GB, free: 1.07 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003929/0.014, allocations: 213 kB / 0.7071 GB, free: 0.8438 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.014, allocations: 0 / 0.7071 GB, free: 0.8438 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.01417, allocations: 63.89 kB / 0.7072 GB, free: 0.7812 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.01446, allocations: 58.89 kB / 0.7072 GB, free: 0.7266 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000673/0.01514, allocations: 301.5 kB / 0.7075 GB, free: 416 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.419e-05/0.0152, allocations: 101.8 kB / 0.7076 GB, free: 296 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 9.478e-05/0.01529, allocations: 21.52 kB / 0.7076 GB, free: 272 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.738e-05/0.01535, allocations: 20.48 kB / 0.7076 GB, free: 252 kB / 410.8 MB Notification: Performance of SimCode: time 7.31e-07/0.01535, allocations: 4 kB / 0.7076 GB, free: 248 kB / 410.8 MB Notification: Performance of Templates: time 0.007011/0.02236, allocations: 2.485 MB / 0.7101 GB, free: 13.84 MB / 426.8 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: 6.813193621812388]