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.0006593/0.0006593, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009432/0.001603, allocations: 440 kB / 10.41 MB, free: 284 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.0009803/0.0009803, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001195/0.002175, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.036/1.036, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09468/1.13, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.7723/0.7723, allocations: 291.2 MB / 0.5228 GB, free: 52.66 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03642/0.8087, allocations: 21.04 MB / 0.5434 GB, free: 31.66 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.Heparin.Heparin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 0.5448 GB, free: 30.21 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.185e-05/2.363e-05, allocations: 2.312 kB / 0.5448 GB, free: 30.21 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin): time 0.002079/0.002102, allocations: 1.963 MB / 0.5467 GB, free: 28.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007141/0.002817, allocations: 0.5769 MB / 0.5473 GB, free: 27.66 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.732e-05/0.002874, allocations: 0 / 0.5473 GB, free: 27.66 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.57e-05/0.00293, allocations: 15.86 kB / 0.5473 GB, free: 27.64 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002297/0.003159, allocations: 67.55 kB / 0.5474 GB, free: 27.57 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001485/0.003308, allocations: 63.77 kB / 0.5474 GB, free: 27.51 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001895/0.003497, allocations: 164 kB / 0.5476 GB, free: 27.35 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.472e-05/0.003542, allocations: 13.89 kB / 0.5476 GB, free: 27.34 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.003693, allocations: 115.8 kB / 0.5477 GB, free: 27.22 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.003893, allocations: 71.84 kB / 0.5478 GB, free: 27.15 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.003918, allocations: 8 kB / 0.5478 GB, free: 27.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.037e-05/0.003938, allocations: 8 kB / 0.5478 GB, free: 27.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.017e-05/0.003988, allocations: 27.86 kB / 0.5478 GB, free: 27.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.496e-05/0.004033, allocations: 31.94 kB / 0.5479 GB, free: 27.08 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.00416, allocations: 79.67 kB / 0.5479 GB, free: 27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.246e-05/0.004172, allocations: 0 / 0.5479 GB, free: 27 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004173, allocations: 0 / 0.5479 GB, free: 27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.004181, allocations: 0 / 0.5479 GB, free: 27 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.0005291/0.00471, allocations: 388.2 kB / 0.5483 GB, free: 26.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.004743, allocations: 11.89 kB / 0.5483 GB, free: 26.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.115e-05/0.004784, allocations: 16.92 kB / 0.5483 GB, free: 26.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.004945, allocations: 155.4 kB / 0.5485 GB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.004965, allocations: 4.375 kB / 0.5485 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.004991, allocations: 12.38 kB / 0.5485 GB, free: 26.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.005128, allocations: 76.95 kB / 0.5486 GB, free: 26.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.005137, allocations: 7.922 kB / 0.5486 GB, free: 26.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.005148, allocations: 8 kB / 0.5486 GB, free: 26.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.005153, allocations: 4 kB / 0.5486 GB, free: 26.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.97e-05/0.005202, allocations: 19.92 kB / 0.5486 GB, free: 26.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002764/0.005479, allocations: 193.9 kB / 0.5488 GB, free: 26.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.005597, allocations: 121.5 kB / 0.5489 GB, free: 25.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.753e-05/0.005624, allocations: 20.8 kB / 0.5489 GB, free: 25.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.005642, allocations: 4 kB / 0.5489 GB, free: 25.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001228/0.005765, allocations: 90.22 kB / 0.549 GB, free: 25.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.005766, allocations: 4 kB / 0.549 GB, free: 25.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001579/0.005924, allocations: 85.66 kB / 0.5491 GB, free: 25.69 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/0.005949, allocations: 55.34 kB / 0.5492 GB, free: 25.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.007e-05/0.006019, allocations: 150.6 kB / 0.5493 GB, free: 25.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.006033, allocations: 29.69 kB / 0.5493 GB, free: 25.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.137e-05/0.006064, allocations: 96.08 kB / 0.5494 GB, free: 25.33 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.006088, allocations: 47.61 kB / 0.5495 GB, free: 25.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.006129, allocations: 37.64 kB / 0.5495 GB, free: 25.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.297e-05/0.006172, allocations: 322.8 kB / 0.5498 GB, free: 24.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.797e-05/0.00621, allocations: 48.52 kB / 0.5499 GB, free: 24.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.287e-05/0.006262, allocations: 162.1 kB / 0.55 GB, free: 24.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.096e-05/0.006323, allocations: 83.14 kB / 0.5501 GB, free: 24.58 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.006326, allocations: 3.062 kB / 0.5501 GB, free: 24.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 9.701e-05/0.006423, allocations: 155.8 kB / 0.5502 GB, free: 24.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.198e-05/0.006455, allocations: 33.7 kB / 0.5503 GB, free: 24.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.006459, allocations: 0 / 0.5503 GB, free: 24.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.006472, allocations: 0 / 0.5503 GB, free: 24.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.006583, allocations: 31.98 kB / 0.5503 GB, free: 24.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/0.006586, allocations: 0 / 0.5503 GB, free: 24.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.673e-05/0.006652, allocations: 19.98 kB / 0.5503 GB, free: 24.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.006661, allocations: 4 kB / 0.5503 GB, free: 24.31 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.067e-05/0.006712, allocations: 120.6 kB / 0.5504 GB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.006727, allocations: 16.14 kB / 0.5505 GB, free: 24.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.006831, allocations: 98.92 kB / 0.5505 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.006833, allocations: 3.938 kB / 0.5506 GB, free: 24.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.006835, allocations: 0 / 0.5506 GB, free: 24.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.006839, allocations: 0 / 0.5506 GB, free: 24.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.341e-05/0.006912, allocations: 105.8 kB / 0.5507 GB, free: 23.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.006914, allocations: 7.984 kB / 0.5507 GB, free: 23.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.311e-05/0.006987, allocations: 27.92 kB / 0.5507 GB, free: 23.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.368e-05/0.007001, allocations: 7.953 kB / 0.5507 GB, free: 23.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.007003, allocations: 3.938 kB / 0.5507 GB, free: 23.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.007014, allocations: 0 / 0.5507 GB, free: 23.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.007015, allocations: 0 / 0.5507 GB, free: 23.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.007016, allocations: 0 / 0.5507 GB, free: 23.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.007149, allocations: 134.7 kB / 0.5508 GB, free: 23.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.007169, allocations: 15.92 kB / 0.5508 GB, free: 23.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.453e-05/0.007214, allocations: 4 kB / 0.5508 GB, free: 23.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.007254, allocations: 20 kB / 0.5509 GB, free: 23.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.007261, allocations: 7.438 kB / 0.5509 GB, free: 23.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.908e-05/0.00729, allocations: 44.73 kB / 0.5509 GB, free: 23.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00729, allocations: 0 / 0.5509 GB, free: 23.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001127/0.007402, allocations: 32 kB / 0.5509 GB, free: 23.62 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 7.061e-05/0.007473, allocations: 88.3 kB / 0.551 GB, free: 23.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001397/0.007613, allocations: 153 kB / 0.5512 GB, free: 23.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/0.00762, allocations: 4 kB / 0.5512 GB, free: 23.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.512e-05/0.007675, allocations: 40.84 kB / 0.5512 GB, free: 23.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.007887, allocations: 376.3 kB / 0.5516 GB, free: 22.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00244/0.01033, allocations: 357.6 kB / 0.5519 GB, free: 22.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.498e-05/0.01035, allocations: 71.84 kB / 0.552 GB, free: 22.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.064e-05/0.01041, allocations: 13.48 kB / 0.552 GB, free: 22.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.01052, allocations: 87.34 kB / 0.5521 GB, free: 22.31 MB / 410.7 MB Notification: Performance of SimCode: time 3.01e-07/0.01052, allocations: 4 kB / 0.5521 GB, free: 22.31 MB / 410.7 MB Notification: Performance of Templates: time 0.003645/0.01416, allocations: 2.749 MB / 0.5548 GB, free: 19.62 MB / 410.7 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: 3.396474177017808]