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.0009264/0.0009264, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001625/0.002552, allocations: 455.9 kB / 10.35 MB, free: 348 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.001216/0.001216, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001541/0.002757, allocations: 475.7 kB / 11.7 MB, free: 2.465 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.038/1.038, allocations: 177.2 MB / 189.6 MB, free: 5.285 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1173/1.155, allocations: 53.66 MB / 243.3 MB, free: 15.55 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.8795/0.8795, allocations: 291.2 MB / 0.5227 GB, free: 52.7 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03945/0.919, allocations: 21.05 MB / 0.5433 GB, free: 31.71 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 2.585e-06/2.585e-06, allocations: 0 / 0.5447 GB, free: 30.29 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.306e-05/3.565e-05, allocations: 14.12 kB / 0.5447 GB, free: 30.27 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx): time 0.002348/0.002384, allocations: 1.959 MB / 0.5466 GB, free: 28.31 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007433/0.003127, allocations: 0.5718 MB / 0.5471 GB, free: 27.73 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.519e-05/0.003182, allocations: 0 / 0.5471 GB, free: 27.73 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.761e-05/0.00324, allocations: 15.8 kB / 0.5472 GB, free: 27.72 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002628/0.003502, allocations: 71.53 kB / 0.5472 GB, free: 27.65 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001612/0.003664, allocations: 67.77 kB / 0.5473 GB, free: 27.58 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.003862, allocations: 164 kB / 0.5474 GB, free: 27.42 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.961e-05/0.003912, allocations: 13.89 kB / 0.5475 GB, free: 27.41 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002453/0.004157, allocations: 111.8 kB / 0.5476 GB, free: 27.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.004365, allocations: 71.83 kB / 0.5476 GB, free: 27.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/0.004391, allocations: 8 kB / 0.5476 GB, free: 27.22 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.178e-05/0.004413, allocations: 8 kB / 0.5476 GB, free: 27.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.916e-05/0.004462, allocations: 31.86 kB / 0.5477 GB, free: 27.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.255e-05/0.004504, allocations: 27.94 kB / 0.5477 GB, free: 27.15 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.004621, allocations: 79.69 kB / 0.5478 GB, free: 27.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.258e-05/0.004633, allocations: 0 / 0.5478 GB, free: 27.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.004635, allocations: 0 / 0.5478 GB, free: 27.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.51e-05/0.00465, allocations: 0 / 0.5478 GB, free: 27.07 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.0006001/0.00525, allocations: 384.2 kB / 0.5481 GB, free: 26.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.005279, allocations: 8.031 kB / 0.5482 GB, free: 26.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.005316, allocations: 20.92 kB / 0.5482 GB, free: 26.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.005467, allocations: 154.8 kB / 0.5483 GB, free: 26.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.005488, allocations: 4.375 kB / 0.5483 GB, free: 26.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.005517, allocations: 16.31 kB / 0.5483 GB, free: 26.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.005656, allocations: 81.02 kB / 0.5484 GB, free: 26.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.005666, allocations: 3.938 kB / 0.5484 GB, free: 26.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.005677, allocations: 3.984 kB / 0.5484 GB, free: 26.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.005684, allocations: 0 / 0.5484 GB, free: 26.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.503e-05/0.005729, allocations: 23.98 kB / 0.5484 GB, free: 26.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003328/0.006061, allocations: 197.9 kB / 0.5486 GB, free: 26.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.006208, allocations: 122.8 kB / 0.5488 GB, free: 25.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.899e-05/0.006247, allocations: 24.86 kB / 0.5488 GB, free: 25.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.00627, allocations: 4 kB / 0.5488 GB, free: 25.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001786/0.006449, allocations: 90.22 kB / 0.5489 GB, free: 25.85 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 2.535e-06/0.006451, allocations: 0 / 0.5489 GB, free: 25.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002249/0.006676, allocations: 89.59 kB / 0.549 GB, free: 25.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.00671, allocations: 51.41 kB / 0.549 GB, free: 25.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.148e-05/0.006791, allocations: 154.6 kB / 0.5491 GB, free: 25.53 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.006805, allocations: 29.69 kB / 0.5492 GB, free: 25.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.046e-05/0.006846, allocations: 92.08 kB / 0.5493 GB, free: 25.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.006873, allocations: 47.61 kB / 0.5493 GB, free: 25.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.537e-05/0.006918, allocations: 37.66 kB / 0.5493 GB, free: 25.31 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.045e-05/0.006959, allocations: 326.8 kB / 0.5497 GB, free: 24.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.176e-05/0.007001, allocations: 48.52 kB / 0.5497 GB, free: 24.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.697e-05/0.007058, allocations: 160.9 kB / 0.5499 GB, free: 24.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.181e-05/0.007119, allocations: 80.17 kB / 0.5499 GB, free: 24.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.007123, allocations: 0 / 0.5499 GB, free: 24.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001199/0.007243, allocations: 162.2 kB / 0.5501 GB, free: 24.47 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.67e-05/0.007279, allocations: 29.7 kB / 0.5501 GB, free: 24.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.007285, allocations: 0 / 0.5501 GB, free: 24.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.007299, allocations: 4 kB / 0.5501 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.007417, allocations: 31.98 kB / 0.5502 GB, free: 24.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.007422, allocations: 0 / 0.5502 GB, free: 24.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.705e-05/0.007489, allocations: 11.98 kB / 0.5502 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.007502, allocations: 11 kB / 0.5502 GB, free: 24.38 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 5.771e-05/0.00756, allocations: 120.6 kB / 0.5503 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.58e-05/0.007576, allocations: 19.92 kB / 0.5503 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001397/0.007715, allocations: 90.42 kB / 0.5504 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.007719, allocations: 4 kB / 0.5504 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.007722, allocations: 224 / 0.5504 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.007729, allocations: 0 / 0.5504 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.007859, allocations: 105.7 kB / 0.5505 GB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.007862, allocations: 0 / 0.5505 GB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.007967, allocations: 27.92 kB / 0.5505 GB, free: 23.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.177e-05/0.007989, allocations: 11.94 kB / 0.5505 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.007992, allocations: 7.938 kB / 0.5505 GB, free: 23.97 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.008006, allocations: 4 kB / 0.5505 GB, free: 23.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.008008, allocations: 0 / 0.5505 GB, free: 23.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.00801, allocations: 0 / 0.5505 GB, free: 23.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.00819, allocations: 131.3 kB / 0.5507 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.00821, allocations: 11.92 kB / 0.5507 GB, free: 23.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.18e-05/0.008262, allocations: 8 kB / 0.5507 GB, free: 23.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.008311, allocations: 19.91 kB / 0.5507 GB, free: 23.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.008317, allocations: 0 / 0.5507 GB, free: 23.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.213e-05/0.00835, allocations: 43.11 kB / 0.5508 GB, free: 23.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00835, allocations: 4.031 kB / 0.5508 GB, free: 23.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001237/0.008473, allocations: 32 kB / 0.5508 GB, free: 23.7 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 0.0001134/0.008587, allocations: 88.36 kB / 0.5509 GB, free: 23.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001762/0.008763, allocations: 149.9 kB / 0.551 GB, free: 23.44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/0.008772, allocations: 7.984 kB / 0.551 GB, free: 23.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.839e-05/0.008831, allocations: 44.91 kB / 0.5511 GB, free: 23.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.008988, allocations: 57.81 kB / 0.5511 GB, free: 23.33 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002526/0.01151, allocations: 350.2 kB / 0.5515 GB, free: 22.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.112e-05/0.01154, allocations: 67.84 kB / 0.5515 GB, free: 22.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.386e-05/0.01161, allocations: 17.48 kB / 0.5515 GB, free: 22.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.01172, allocations: 91.34 kB / 0.5516 GB, free: 22.77 MB / 410.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01172, allocations: 0 / 0.5516 GB, free: 22.77 MB / 410.7 MB Notification: Performance of Templates: time 0.004217/0.01594, allocations: 2.744 MB / 0.5543 GB, free: 20.1 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.5245257299393415]