Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin.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.001893/0.001893, 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.002086/0.002086, 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.561/1.561, 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.406/1.406, allocations: 293 MB / 0.5392 GB, free: 50.16 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.Heparin.Heparin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 0.6999 GB, free: 8.543 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.099e-05/3.324e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.539 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin): time 0.004138/0.004171, allocations: 1.828 MB / 0.7017 GB, free: 6.695 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.005776, allocations: 0.5537 MB / 0.7023 GB, free: 6.137 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001844/0.00596, allocations: 0 / 0.7023 GB, free: 6.137 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001843/0.006144, allocations: 11.86 kB / 0.7023 GB, free: 6.125 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0006725/0.006817, allocations: 67.53 kB / 0.7023 GB, free: 6.059 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003054/0.007122, allocations: 71.77 kB / 0.7024 GB, free: 5.988 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003549/0.007477, allocations: 163.3 kB / 0.7026 GB, free: 5.828 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 7.137e-05/0.007549, allocations: 5.312 kB / 0.7026 GB, free: 5.824 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000218/0.007767, allocations: 87.78 kB / 0.7026 GB, free: 5.738 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003152/0.008082, allocations: 79.75 kB / 0.7027 GB, free: 5.66 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.758e-05/0.008129, allocations: 8 kB / 0.7027 GB, free: 5.652 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.889e-05/0.008168, allocations: 11.94 kB / 0.7027 GB, free: 5.641 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 7.675e-05/0.008245, allocations: 35.84 kB / 0.7028 GB, free: 5.605 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 9.561e-05/0.008341, allocations: 43.84 kB / 0.7028 GB, free: 5.562 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002096/0.00855, allocations: 103.7 kB / 0.7029 GB, free: 5.461 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.008554, allocations: 4 kB / 0.7029 GB, free: 5.457 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.773e-06/0.008556, allocations: 0 / 0.7029 GB, free: 5.457 MB / 410.8 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.008563, allocations: 0 / 0.7029 GB, free: 5.457 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.0009615/0.009524, allocations: 395.5 kB / 0.7033 GB, free: 5.035 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.009564, allocations: 12.03 kB / 0.7033 GB, free: 5.023 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.287e-05/0.009647, allocations: 12.84 kB / 0.7033 GB, free: 5.012 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.009879, allocations: 142.2 kB / 0.7034 GB, free: 4.848 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.0099, allocations: 8.375 kB / 0.7035 GB, free: 4.84 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.429e-05/0.009944, allocations: 12.38 kB / 0.7035 GB, free: 4.828 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003386/0.01028, allocations: 97.67 kB / 0.7036 GB, free: 4.73 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.01029, allocations: 7.875 kB / 0.7036 GB, free: 4.723 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.01031, allocations: 4 kB / 0.7036 GB, free: 4.719 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.01032, allocations: 4 kB / 0.7036 GB, free: 4.715 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003701/0.01069, allocations: 79.92 kB / 0.7037 GB, free: 4.637 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005863/0.01128, allocations: 276.4 kB / 0.7039 GB, free: 4.336 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004964/0.01177, allocations: 146.3 kB / 0.7041 GB, free: 4.184 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/0.01198, allocations: 52.75 kB / 0.7041 GB, free: 4.129 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.012, allocations: 4 kB / 0.7041 GB, free: 4.125 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003502/0.01235, allocations: 111.3 kB / 0.7042 GB, free: 4.004 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.01235, allocations: 0 / 0.7042 GB, free: 4.004 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0007414/0.01309, allocations: 201.6 kB / 0.7044 GB, free: 3.801 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.01314, allocations: 51.41 kB / 0.7045 GB, free: 3.738 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.0133, allocations: 160.9 kB / 0.7046 GB, free: 3.574 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.01332, allocations: 29.7 kB / 0.7046 GB, free: 3.539 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.813e-05/0.01338, allocations: 104.1 kB / 0.7047 GB, free: 3.434 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.131e-05/0.01342, allocations: 39.64 kB / 0.7048 GB, free: 3.395 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.898e-05/0.01351, allocations: 41.7 kB / 0.7048 GB, free: 3.348 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.367e-05/0.01356, allocations: 322.8 kB / 0.7051 GB, free: 3.023 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002362/0.0138, allocations: 81.66 kB / 0.7052 GB, free: 2.938 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002863/0.01408, allocations: 210.1 kB / 0.7054 GB, free: 2.695 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003956/0.01448, allocations: 142.1 kB / 0.7055 GB, free: 2.551 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.01448, allocations: 3.938 kB / 0.7055 GB, free: 2.547 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005729/0.01505, allocations: 244.8 kB / 0.7058 GB, free: 2.289 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.869e-05/0.01509, allocations: 29.7 kB / 0.7058 GB, free: 2.254 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.0151, allocations: 0 / 0.7058 GB, free: 2.254 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.01512, allocations: 8 kB / 0.7058 GB, free: 2.246 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.01534, allocations: 23.98 kB / 0.7058 GB, free: 2.223 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.01535, allocations: 7.922 kB / 0.7058 GB, free: 2.215 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002329/0.01559, allocations: 19.92 kB / 0.7059 GB, free: 2.195 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.01561, allocations: 7.984 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 0.0001013/0.01571, allocations: 126.4 kB / 0.706 GB, free: 2.055 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.01574, allocations: 15.91 kB / 0.706 GB, free: 2.039 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005421/0.01628, allocations: 170.4 kB / 0.7062 GB, free: 1.871 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.01629, allocations: 4 kB / 0.7062 GB, free: 1.867 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.01629, allocations: 0 / 0.7062 GB, free: 1.867 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.0163, allocations: 224 / 0.7062 GB, free: 1.867 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.01646, allocations: 149.2 kB / 0.7063 GB, free: 1.691 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.01646, allocations: 7.875 kB / 0.7063 GB, free: 1.684 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/0.01668, allocations: 27.98 kB / 0.7063 GB, free: 1.656 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.01668, allocations: 0 / 0.7063 GB, free: 1.656 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.0167, allocations: 0 / 0.7063 GB, free: 1.656 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.0167, allocations: 3.938 kB / 0.7064 GB, free: 1.652 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.0167, allocations: 0 / 0.7064 GB, free: 1.652 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007284/0.01743, allocations: 256.7 kB / 0.7066 GB, free: 1.387 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.045e-05/0.01747, allocations: 23.86 kB / 0.7066 GB, free: 1.363 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.08e-05/0.01751, allocations: 3.984 kB / 0.7066 GB, free: 1.359 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.01769, allocations: 11.98 kB / 0.7066 GB, free: 1.348 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.975e-05/0.01778, allocations: 15.97 kB / 0.7066 GB, free: 1.332 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.01779, allocations: 4 kB / 0.7067 GB, free: 1.328 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001142/0.01791, allocations: 123.1 kB / 0.7068 GB, free: 1.207 MB / 410.8 MB Notification: Performance of sort global known variables: time 9e-08/0.01791, allocations: 4.062 kB / 0.7068 GB, free: 1.203 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003543/0.01826, allocations: 35.98 kB / 0.7068 GB, free: 1.168 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.0001285/0.01839, allocations: 103.2 kB / 0.7069 GB, free: 1.055 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005556/0.01895, allocations: 209 kB / 0.7071 GB, free: 0.832 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.01895, allocations: 0 / 0.7071 GB, free: 0.832 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002371/0.01919, allocations: 63.89 kB / 0.7072 GB, free: 0.7695 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000426/0.01961, allocations: 47.84 kB / 0.7072 GB, free: 0.7227 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008322/0.02044, allocations: 309.5 kB / 0.7075 GB, free: 404 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.081e-05/0.02052, allocations: 93.81 kB / 0.7076 GB, free: 292 kB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001289/0.02064, allocations: 29.47 kB / 0.7076 GB, free: 260 kB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.054e-05/0.02073, allocations: 16.5 kB / 0.7076 GB, free: 244 kB / 410.8 MB Notification: Performance of SimCode: time 5.91e-07/0.02073, allocations: 0 / 0.7076 GB, free: 244 kB / 410.8 MB Notification: Performance of Templates: time 0.008601/0.02933, allocations: 2.485 MB / 0.7101 GB, free: 13.83 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.860148414038122]