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.0006759/0.0006759, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000922/0.001598, allocations: 435.8 kB / 10.31 MB, free: 384 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.0006725/0.0006725, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009045/0.001577, allocations: 463.6 kB / 11.65 MB, free: 2.516 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 0.9457/0.9457, allocations: 177.1 MB / 189.5 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08416/1.03, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.7441/0.7441, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02289/0.767, allocations: 21.04 MB / 0.5431 GB, free: 31.95 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.203e-06/1.203e-06, allocations: 3.938 kB / 0.5445 GB, free: 30.54 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.346e-06/9.549e-06, allocations: 6.25 kB / 0.5445 GB, free: 30.53 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin): time 0.00153/0.001539, allocations: 1.952 MB / 0.5464 GB, free: 28.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005191/0.002058, allocations: 0.5692 MB / 0.547 GB, free: 28 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.067e-05/0.002099, allocations: 3.938 kB / 0.547 GB, free: 27.99 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.403e-05/0.002143, allocations: 11.86 kB / 0.547 GB, free: 27.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001842/0.002327, allocations: 71.53 kB / 0.5471 GB, free: 27.91 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001141/0.002441, allocations: 63.78 kB / 0.5471 GB, free: 27.85 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.002585, allocations: 164 kB / 0.5473 GB, free: 27.69 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.292e-05/0.002618, allocations: 13.89 kB / 0.5473 GB, free: 27.67 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.002739, allocations: 115.8 kB / 0.5474 GB, free: 27.56 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.002893, allocations: 67.84 kB / 0.5475 GB, free: 27.49 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.002913, allocations: 12 kB / 0.5475 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.723e-05/0.00293, allocations: 4 kB / 0.5475 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.924e-05/0.002969, allocations: 31.86 kB / 0.5475 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.004e-05/0.003009, allocations: 31.92 kB / 0.5475 GB, free: 27.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.649e-05/0.003106, allocations: 75.7 kB / 0.5476 GB, free: 27.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.255e-05/0.003118, allocations: 3.984 kB / 0.5476 GB, free: 27.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.003119, allocations: 0 / 0.5476 GB, free: 27.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.003129, allocations: 0 / 0.5476 GB, free: 27.34 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.0004555/0.003585, allocations: 388.2 kB / 0.548 GB, free: 26.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.686e-05/0.003611, allocations: 11.89 kB / 0.548 GB, free: 26.92 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.459e-05/0.003646, allocations: 12.92 kB / 0.548 GB, free: 26.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.003758, allocations: 154.8 kB / 0.5482 GB, free: 26.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.003775, allocations: 8.375 kB / 0.5482 GB, free: 26.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.003792, allocations: 8.375 kB / 0.5482 GB, free: 26.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.0039, allocations: 88.95 kB / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.003908, allocations: 3.938 kB / 0.5483 GB, free: 26.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.003916, allocations: 0 / 0.5483 GB, free: 26.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.00392, allocations: 0 / 0.5483 GB, free: 26.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.898e-05/0.003959, allocations: 23.98 kB / 0.5483 GB, free: 26.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002177/0.004177, allocations: 197.9 kB / 0.5485 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.004278, allocations: 118.8 kB / 0.5486 GB, free: 26.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.611e-05/0.004304, allocations: 24.84 kB / 0.5486 GB, free: 26.22 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.004317, allocations: 0 / 0.5486 GB, free: 26.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.857e-05/0.004415, allocations: 90.23 kB / 0.5487 GB, free: 26.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 9.01e-07/0.004416, allocations: 0 / 0.5487 GB, free: 26.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001243/0.00454, allocations: 93.59 kB / 0.5488 GB, free: 26.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.894e-05/0.004559, allocations: 55.41 kB / 0.5488 GB, free: 25.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.695e-05/0.004616, allocations: 142.6 kB / 0.549 GB, free: 25.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.004627, allocations: 33.7 kB / 0.549 GB, free: 25.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.545e-05/0.004652, allocations: 96.06 kB / 0.5491 GB, free: 25.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.004675, allocations: 47.61 kB / 0.5491 GB, free: 25.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/0.004713, allocations: 41.64 kB / 0.5492 GB, free: 25.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.848e-05/0.004741, allocations: 326.8 kB / 0.5495 GB, free: 25.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.297e-05/0.004774, allocations: 44.52 kB / 0.5495 GB, free: 25.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.801e-05/0.004822, allocations: 164.9 kB / 0.5497 GB, free: 25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.43e-05/0.004876, allocations: 80.19 kB / 0.5498 GB, free: 24.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.004878, allocations: 0 / 0.5498 GB, free: 24.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 8.941e-05/0.004968, allocations: 154.6 kB / 0.5499 GB, free: 24.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.004994, allocations: 33.69 kB / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.004997, allocations: 0 / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.845e-06/0.005005, allocations: 0 / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.005106, allocations: 31.98 kB / 0.55 GB, free: 24.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.005109, allocations: 0 / 0.55 GB, free: 24.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.601e-05/0.005175, allocations: 15.98 kB / 0.55 GB, free: 24.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.005183, allocations: 4.047 kB / 0.55 GB, free: 24.65 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 4.335e-05/0.005226, allocations: 132.6 kB / 0.5501 GB, free: 24.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/0.00524, allocations: 19.92 kB / 0.5501 GB, free: 24.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.858e-05/0.005338, allocations: 90.42 kB / 0.5502 GB, free: 24.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.00534, allocations: 4 kB / 0.5502 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.005342, allocations: 224 / 0.5502 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.005345, allocations: 0 / 0.5502 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.545e-05/0.00541, allocations: 97.7 kB / 0.5503 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.005412, allocations: 3.062 kB / 0.5503 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.511e-05/0.005487, allocations: 31.92 kB / 0.5504 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.397e-05/0.005501, allocations: 19.92 kB / 0.5504 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.005503, allocations: 3.938 kB / 0.5504 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.005514, allocations: 4 kB / 0.5504 GB, free: 24.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.005515, allocations: 0 / 0.5504 GB, free: 24.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.005516, allocations: 0 / 0.5504 GB, free: 24.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.005636, allocations: 131.3 kB / 0.5505 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.005654, allocations: 7.922 kB / 0.5505 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.542e-05/0.005699, allocations: 8 kB / 0.5505 GB, free: 24.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.005735, allocations: 15.97 kB / 0.5505 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.00574, allocations: 3.969 kB / 0.5505 GB, free: 24.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.546e-05/0.005766, allocations: 51.92 kB / 0.5506 GB, free: 23.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005766, allocations: 0 / 0.5506 GB, free: 23.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001078/0.005874, allocations: 32 kB / 0.5506 GB, free: 23.96 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 5.105e-05/0.005925, allocations: 76.42 kB / 0.5507 GB, free: 23.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001093/0.006034, allocations: 149.9 kB / 0.5508 GB, free: 23.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.006037, allocations: 4 kB / 0.5508 GB, free: 23.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.65e-05/0.006074, allocations: 32.97 kB / 0.5509 GB, free: 23.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/0.00621, allocations: 69 kB / 0.5509 GB, free: 23.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002457/0.008667, allocations: 354.2 kB / 0.5513 GB, free: 23.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.013e-05/0.008687, allocations: 71.83 kB / 0.5514 GB, free: 23.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.917e-05/0.008736, allocations: 13.5 kB / 0.5514 GB, free: 23.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.008837, allocations: 95.33 kB / 0.5515 GB, free: 23.04 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.008838, allocations: 0 / 0.5515 GB, free: 23.04 MB / 410.7 MB Notification: Performance of Templates: time 0.00328/0.01212, allocations: 2.733 MB / 0.5541 GB, free: 20.38 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.078082767315209]