Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cholesterol.Cholesterol.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.001883/0.001883, allocations: 84.44 kB / 19.17 MB, free: 0.7422 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.002175/0.002175, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.547/1.547, allocations: 177.1 MB / 202.8 MB, free: 5.723 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.373/1.373, allocations: 293 MB / 0.5392 GB, free: 49.78 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.Cholesterol.Cholesterol,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cholesterol.Cholesterol") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cholesterol.Cholesterol,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cholesterol.Cholesterol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.6999 GB, free: 8.539 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/2.094e-05, allocations: 6.281 kB / 0.6999 GB, free: 8.531 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cholesterol.Cholesterol): time 0.002222/0.002243, allocations: 1.828 MB / 0.7017 GB, free: 6.688 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008287/0.003072, allocations: 0.5499 MB / 0.7022 GB, free: 6.133 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.249e-05/0.003124, allocations: 3.938 kB / 0.7023 GB, free: 6.129 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 7.743e-05/0.003202, allocations: 11.91 kB / 0.7023 GB, free: 6.117 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003164/0.003518, allocations: 67.55 kB / 0.7023 GB, free: 6.051 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001524/0.00367, allocations: 71.66 kB / 0.7024 GB, free: 5.98 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.003848, allocations: 167.2 kB / 0.7026 GB, free: 5.816 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.894e-05/0.003887, allocations: 9.312 kB / 0.7026 GB, free: 5.809 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.004005, allocations: 91.72 kB / 0.7027 GB, free: 5.719 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.004197, allocations: 75.83 kB / 0.7027 GB, free: 5.645 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.868e-05/0.004226, allocations: 11.94 kB / 0.7027 GB, free: 5.633 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.348e-05/0.004249, allocations: 8 kB / 0.7027 GB, free: 5.625 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.352e-05/0.004303, allocations: 39.83 kB / 0.7028 GB, free: 5.586 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.155e-05/0.004364, allocations: 39.91 kB / 0.7028 GB, free: 5.547 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.004486, allocations: 99.67 kB / 0.7029 GB, free: 5.449 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.004488, allocations: 0 / 0.7029 GB, free: 5.449 MB / 410.8 MB Notification: Performance of FrontEnd: time 7.52e-07/0.004489, allocations: 0 / 0.7029 GB, free: 5.449 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.004492, allocations: 0 / 0.7029 GB, free: 5.449 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.0006561/0.005148, allocations: 399.5 kB / 0.7033 GB, free: 5.023 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.808e-05/0.005176, allocations: 12.03 kB / 0.7033 GB, free: 5.012 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.123e-05/0.005228, allocations: 16.83 kB / 0.7033 GB, free: 4.996 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.005389, allocations: 142.2 kB / 0.7035 GB, free: 4.832 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.005405, allocations: 4.375 kB / 0.7035 GB, free: 4.828 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.005433, allocations: 12.38 kB / 0.7035 GB, free: 4.816 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002358/0.005669, allocations: 101.7 kB / 0.7036 GB, free: 4.715 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.005676, allocations: 3.938 kB / 0.7036 GB, free: 4.711 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.005689, allocations: 11.94 kB / 0.7036 GB, free: 4.699 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.005697, allocations: 4 kB / 0.7036 GB, free: 4.695 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002664/0.005963, allocations: 79.92 kB / 0.7037 GB, free: 4.617 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004076/0.006371, allocations: 276.4 kB / 0.7039 GB, free: 4.316 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003487/0.006719, allocations: 142.3 kB / 0.7041 GB, free: 4.168 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.006863, allocations: 44.83 kB / 0.7041 GB, free: 4.121 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.006878, allocations: 8 kB / 0.7041 GB, free: 4.113 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002297/0.007108, allocations: 115.3 kB / 0.7042 GB, free: 3.988 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.253e-06/0.007109, allocations: 0 / 0.7042 GB, free: 3.988 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.000526/0.007635, allocations: 193.6 kB / 0.7044 GB, free: 3.793 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/0.007658, allocations: 55.41 kB / 0.7045 GB, free: 3.727 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.007766, allocations: 155.6 kB / 0.7046 GB, free: 3.566 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.007784, allocations: 33.69 kB / 0.7046 GB, free: 3.527 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.133e-05/0.007825, allocations: 108.1 kB / 0.7047 GB, free: 3.418 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.007854, allocations: 39.64 kB / 0.7048 GB, free: 3.379 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.216e-05/0.007917, allocations: 37.7 kB / 0.7048 GB, free: 3.336 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.014e-05/0.007957, allocations: 322.8 kB / 0.7051 GB, free: 3.012 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.008128, allocations: 81.66 kB / 0.7052 GB, free: 2.926 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/0.008333, allocations: 208.9 kB / 0.7054 GB, free: 2.688 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000274/0.008607, allocations: 138.5 kB / 0.7055 GB, free: 2.543 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.008609, allocations: 3.938 kB / 0.7055 GB, free: 2.539 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003896/0.008999, allocations: 247.7 kB / 0.7058 GB, free: 2.281 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.00902, allocations: 33.69 kB / 0.7058 GB, free: 2.242 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.009023, allocations: 0 / 0.7058 GB, free: 2.242 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.009036, allocations: 7.938 kB / 0.7058 GB, free: 2.234 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.009205, allocations: 23.98 kB / 0.7058 GB, free: 2.211 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-06/0.009209, allocations: 0 / 0.7058 GB, free: 2.211 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.009379, allocations: 19.92 kB / 0.7059 GB, free: 2.191 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.009393, allocations: 4.219 kB / 0.7059 GB, free: 2.188 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.874e-05/0.009461, allocations: 133.7 kB / 0.706 GB, free: 2.047 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.967e-05/0.009481, allocations: 15.84 kB / 0.706 GB, free: 2.031 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003806/0.009862, allocations: 170.4 kB / 0.7062 GB, free: 1.863 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.009865, allocations: 4 kB / 0.7062 GB, free: 1.859 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.009868, allocations: 0 / 0.7062 GB, free: 1.859 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.009871, allocations: 0 / 0.7062 GB, free: 1.859 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.009979, allocations: 145.2 kB / 0.7063 GB, free: 1.688 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.00998, allocations: 3.938 kB / 0.7063 GB, free: 1.684 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/0.01015, allocations: 35.91 kB / 0.7064 GB, free: 1.648 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.01015, allocations: 0 / 0.7064 GB, free: 1.648 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.01017, allocations: 8 kB / 0.7064 GB, free: 1.641 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.01017, allocations: 0 / 0.7064 GB, free: 1.641 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.01017, allocations: 0 / 0.7064 GB, free: 1.641 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005008/0.01067, allocations: 252.1 kB / 0.7066 GB, free: 1.379 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.445e-05/0.0107, allocations: 19.78 kB / 0.7066 GB, free: 1.359 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.01072, allocations: 4.109 kB / 0.7066 GB, free: 1.355 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.01086, allocations: 19.97 kB / 0.7066 GB, free: 1.336 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.62e-05/0.01091, allocations: 15.97 kB / 0.7067 GB, free: 1.32 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.01093, allocations: 4 kB / 0.7067 GB, free: 1.316 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.195e-05/0.011, allocations: 125.3 kB / 0.7068 GB, free: 1.195 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.011, allocations: 0 / 0.7068 GB, free: 1.195 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002125/0.01121, allocations: 32 kB / 0.7068 GB, free: 1.164 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 7.655e-05/0.01129, allocations: 107.2 kB / 0.7069 GB, free: 1.047 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003838/0.01167, allocations: 213 kB / 0.7071 GB, free: 0.8203 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01167, allocations: 0 / 0.7071 GB, free: 0.8203 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.01184, allocations: 59.95 kB / 0.7072 GB, free: 0.7617 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.01212, allocations: 43.83 kB / 0.7072 GB, free: 0.7188 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005535/0.01267, allocations: 317.4 kB / 0.7075 GB, free: 392 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.882e-05/0.01272, allocations: 93.81 kB / 0.7076 GB, free: 280 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 8.536e-05/0.0128, allocations: 21.48 kB / 0.7076 GB, free: 256 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.313e-05/0.01286, allocations: 20.48 kB / 0.7076 GB, free: 236 kB / 410.8 MB Notification: Performance of SimCode: time 2.9e-07/0.01286, allocations: 0 / 0.7076 GB, free: 236 kB / 410.8 MB Notification: Performance of Templates: time 0.006313/0.01917, allocations: 2.486 MB / 0.7101 GB, free: 13.82 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cholesterol.Cholesterol.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cholesterol.Cholesterol.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cholesterol.Cholesterol.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cholesterol.Cholesterol.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cholesterol.Cholesterol.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cholesterol.Cholesterol -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Cholesterol.Cholesterol.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.729561462067068]