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.001172/0.001172, allocations: 92.42 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.001015/0.001015, allocations: 165.9 kB / 23.21 MB, free: 1.324 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.9726/0.9726, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.6898/0.6898, allocations: 291.2 MB / 0.5382 GB, free: 51.9 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 1.102e-06/1.102e-06, allocations: 0 / 0.6974 GB, free: 10.35 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.284e-05/1.395e-05, allocations: 6.281 kB / 0.6974 GB, free: 10.34 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx): time 0.001596/0.00161, allocations: 1.834 MB / 0.6992 GB, free: 8.492 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005579/0.002168, allocations: 0.5499 MB / 0.6997 GB, free: 7.938 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.695e-05/0.002215, allocations: 4 kB / 0.6997 GB, free: 7.934 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.002327, allocations: 11.86 kB / 0.6997 GB, free: 7.922 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002764/0.002603, allocations: 75.47 kB / 0.6998 GB, free: 7.848 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001133/0.002716, allocations: 63.58 kB / 0.6998 GB, free: 7.789 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.00286, allocations: 167.3 kB / 0.7 GB, free: 7.625 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.662e-05/0.002896, allocations: 5.312 kB / 0.7 GB, free: 7.621 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.238e-05/0.002989, allocations: 91.72 kB / 0.7001 GB, free: 7.531 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.003162, allocations: 87.75 kB / 0.7002 GB, free: 7.445 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.003181, allocations: 8 kB / 0.7002 GB, free: 7.438 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.592e-05/0.003197, allocations: 4 kB / 0.7002 GB, free: 7.434 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.929e-05/0.003246, allocations: 31.91 kB / 0.7002 GB, free: 7.402 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.354e-05/0.00329, allocations: 43.84 kB / 0.7003 GB, free: 7.359 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.003396, allocations: 99.66 kB / 0.7004 GB, free: 7.262 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.003399, allocations: 8 kB / 0.7004 GB, free: 7.254 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.81e-07/0.0034, allocations: 0 / 0.7004 GB, free: 7.254 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.003404, allocations: 0 / 0.7004 GB, free: 7.254 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.0004726/0.003876, allocations: 391.5 kB / 0.7007 GB, free: 6.836 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.003906, allocations: 11.89 kB / 0.7007 GB, free: 6.824 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.792e-05/0.003944, allocations: 16.84 kB / 0.7008 GB, free: 6.809 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.004062, allocations: 146.1 kB / 0.7009 GB, free: 6.641 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.004073, allocations: 8.375 kB / 0.7009 GB, free: 6.633 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.004094, allocations: 4.375 kB / 0.7009 GB, free: 6.629 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.004241, allocations: 102.2 kB / 0.701 GB, free: 6.523 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.004249, allocations: 7.938 kB / 0.701 GB, free: 6.516 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.00426, allocations: 4 kB / 0.701 GB, free: 6.512 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.004264, allocations: 3.938 kB / 0.701 GB, free: 6.508 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.004402, allocations: 75.92 kB / 0.7011 GB, free: 6.434 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002988/0.0047, allocations: 288.4 kB / 0.7014 GB, free: 6.121 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.004904, allocations: 134.4 kB / 0.7015 GB, free: 5.98 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.578e-05/0.00498, allocations: 56.81 kB / 0.7016 GB, free: 5.922 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.004992, allocations: 4 kB / 0.7016 GB, free: 5.918 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001477/0.00514, allocations: 107.3 kB / 0.7017 GB, free: 5.801 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.005141, allocations: 224 / 0.7017 GB, free: 5.801 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003034/0.005444, allocations: 201.6 kB / 0.7019 GB, free: 5.598 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.856e-05/0.005463, allocations: 55.34 kB / 0.7019 GB, free: 5.531 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.113e-05/0.005544, allocations: 159.6 kB / 0.7021 GB, free: 5.367 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.005558, allocations: 29.7 kB / 0.7021 GB, free: 5.332 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.515e-05/0.005593, allocations: 104.1 kB / 0.7022 GB, free: 5.227 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.005617, allocations: 39.64 kB / 0.7022 GB, free: 5.188 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.94e-05/0.005656, allocations: 45.69 kB / 0.7023 GB, free: 5.137 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.873e-05/0.005685, allocations: 322.8 kB / 0.7026 GB, free: 4.812 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.213e-05/0.005777, allocations: 81.66 kB / 0.7027 GB, free: 4.727 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.005886, allocations: 198.1 kB / 0.7028 GB, free: 4.496 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.006033, allocations: 144 kB / 0.703 GB, free: 4.348 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.006036, allocations: 3.938 kB / 0.703 GB, free: 4.344 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002057/0.006242, allocations: 247.3 kB / 0.7032 GB, free: 4.086 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.00626, allocations: 33.7 kB / 0.7033 GB, free: 4.047 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/0.006264, allocations: 0 / 0.7033 GB, free: 4.047 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.537e-06/0.006273, allocations: 0 / 0.7033 GB, free: 4.047 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.687e-05/0.00636, allocations: 27.98 kB / 0.7033 GB, free: 4.02 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.006364, allocations: 0 / 0.7033 GB, free: 4.02 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.576e-05/0.00644, allocations: 27.86 kB / 0.7033 GB, free: 3.992 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-06/0.006449, allocations: 11.98 kB / 0.7033 GB, free: 3.98 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.003e-05/0.006499, allocations: 122.4 kB / 0.7034 GB, free: 3.852 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.114e-05/0.006511, allocations: 15.91 kB / 0.7034 GB, free: 3.836 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002084/0.006719, allocations: 166.4 kB / 0.7036 GB, free: 3.672 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.006721, allocations: 0 / 0.7036 GB, free: 3.672 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.006724, allocations: 0 / 0.7036 GB, free: 3.672 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.006727, allocations: 48 / 0.7036 GB, free: 3.672 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.23e-05/0.006799, allocations: 165.1 kB / 0.7038 GB, free: 3.48 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.0068, allocations: 3.938 kB / 0.7038 GB, free: 3.477 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.827e-05/0.006879, allocations: 27.98 kB / 0.7038 GB, free: 3.449 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.00688, allocations: 0 / 0.7038 GB, free: 3.449 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.00689, allocations: 4 kB / 0.7038 GB, free: 3.445 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.006891, allocations: 3.938 kB / 0.7038 GB, free: 3.441 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.006891, allocations: 0 / 0.7038 GB, free: 3.441 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002755/0.007167, allocations: 254.5 kB / 0.704 GB, free: 3.18 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.436e-05/0.007181, allocations: 15.88 kB / 0.7041 GB, free: 3.164 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.0072, allocations: 12 kB / 0.7041 GB, free: 3.152 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.334e-05/0.007253, allocations: 11.98 kB / 0.7041 GB, free: 3.141 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.562e-05/0.007299, allocations: 19.91 kB / 0.7041 GB, free: 3.121 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.007306, allocations: 4 kB / 0.7041 GB, free: 3.117 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.308e-05/0.007349, allocations: 129.7 kB / 0.7042 GB, free: 2.992 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.007349, allocations: 0 / 0.7042 GB, free: 2.992 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001287/0.007478, allocations: 32 kB / 0.7043 GB, free: 2.961 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 6.135e-05/0.007539, allocations: 95.25 kB / 0.7044 GB, free: 2.855 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002175/0.007757, allocations: 220.9 kB / 0.7046 GB, free: 2.621 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.007758, allocations: 0 / 0.7046 GB, free: 2.621 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.079e-05/0.007839, allocations: 59.89 kB / 0.7046 GB, free: 2.562 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001723/0.008011, allocations: 51.83 kB / 0.7047 GB, free: 2.512 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004068/0.008418, allocations: 339.2 kB / 0.705 GB, free: 2.148 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.753e-05/0.008455, allocations: 97.8 kB / 0.7051 GB, free: 2.035 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.608e-05/0.008502, allocations: 16.5 kB / 0.7051 GB, free: 2.016 MB / 410.8 MB Notification: Performance of SimCode: time 3.3e-07/0.008502, allocations: 0 / 0.7051 GB, free: 2.016 MB / 410.8 MB Notification: Performance of Templates: time 0.00203/0.01053, allocations: 2.051 MB / 0.7071 GB, free: 15.97 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 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.ProtoporphyrinIx.ProtoporphyrinIx.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.315600015223026]