Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin_Palm1987_reference.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.000704/0.000704, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009855/0.00169, allocations: 443.8 kB / 10.3 MB, free: 400 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.0007114/0.0007114, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009711/0.001683, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.9679/0.9679, allocations: 177.2 MB / 189.5 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08774/1.056, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.7829/0.7829, allocations: 291.2 MB / 0.5226 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07233/0.8553, allocations: 21.04 MB / 0.5431 GB, free: 31.96 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_Palm1987_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin_Palm1987_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin_Palm1987_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin_Palm1987_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.5444 GB, free: 30.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2e-05/2.142e-05, allocations: 2.312 kB / 0.5444 GB, free: 30.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin_Palm1987_reference): time 0.002247/0.002268, allocations: 1.939 MB / 0.5463 GB, free: 28.64 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006967/0.002965, allocations: 0.5689 MB / 0.5469 GB, free: 28.07 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.275e-05/0.003007, allocations: 3.938 kB / 0.5469 GB, free: 28.07 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.179e-05/0.003049, allocations: 11.91 kB / 0.5469 GB, free: 28.05 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001959/0.003245, allocations: 75.47 kB / 0.547 GB, free: 27.98 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001202/0.003365, allocations: 55.91 kB / 0.547 GB, free: 27.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.003509, allocations: 168 kB / 0.5472 GB, free: 27.76 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.36e-05/0.003543, allocations: 9.906 kB / 0.5472 GB, free: 27.75 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.003664, allocations: 119.6 kB / 0.5473 GB, free: 27.63 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.003815, allocations: 79.81 kB / 0.5474 GB, free: 27.55 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.003835, allocations: 8 kB / 0.5474 GB, free: 27.55 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.679e-05/0.003852, allocations: 4 kB / 0.5474 GB, free: 27.54 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.84e-05/0.00389, allocations: 23.94 kB / 0.5474 GB, free: 27.52 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.816e-05/0.003928, allocations: 27.94 kB / 0.5475 GB, free: 27.49 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.004033, allocations: 83.62 kB / 0.5475 GB, free: 27.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.316e-05/0.004046, allocations: 0 / 0.5475 GB, free: 27.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.004047, allocations: 0 / 0.5475 GB, free: 27.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.004059, allocations: 0 / 0.5475 GB, free: 27.41 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.0004965/0.004555, allocations: 392.1 kB / 0.5479 GB, free: 27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.506e-05/0.00458, allocations: 8.031 kB / 0.5479 GB, free: 26.99 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.573e-05/0.004616, allocations: 12.92 kB / 0.5479 GB, free: 26.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.004734, allocations: 153.9 kB / 0.5481 GB, free: 26.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.004752, allocations: 8.375 kB / 0.5481 GB, free: 26.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.00477, allocations: 8.375 kB / 0.5481 GB, free: 26.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.004882, allocations: 84.95 kB / 0.5482 GB, free: 26.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.00489, allocations: 3.938 kB / 0.5482 GB, free: 26.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.004898, allocations: 4 kB / 0.5482 GB, free: 26.69 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.004903, allocations: 0 / 0.5482 GB, free: 26.69 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.11e-05/0.004945, allocations: 19.98 kB / 0.5482 GB, free: 26.67 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002243/0.005169, allocations: 197.8 kB / 0.5484 GB, free: 26.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.005274, allocations: 118.9 kB / 0.5485 GB, free: 26.33 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.586e-05/0.0053, allocations: 24.78 kB / 0.5485 GB, free: 26.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.005314, allocations: 0 / 0.5485 GB, free: 26.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001024/0.005416, allocations: 90.23 kB / 0.5486 GB, free: 26.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.005417, allocations: 0 / 0.5486 GB, free: 26.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001389/0.005556, allocations: 89.66 kB / 0.5487 GB, free: 26.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.138e-05/0.005577, allocations: 59.34 kB / 0.5488 GB, free: 26.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.054e-05/0.005638, allocations: 146.6 kB / 0.5489 GB, free: 25.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.005649, allocations: 33.92 kB / 0.5489 GB, free: 25.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.634e-05/0.005676, allocations: 96.06 kB / 0.549 GB, free: 25.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.005699, allocations: 47.61 kB / 0.5491 GB, free: 25.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.005737, allocations: 37.66 kB / 0.5491 GB, free: 25.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.985e-05/0.005767, allocations: 326.8 kB / 0.5494 GB, free: 25.33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.32e-05/0.0058, allocations: 44.52 kB / 0.5495 GB, free: 25.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.837e-05/0.005848, allocations: 165.2 kB / 0.5496 GB, free: 25.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.502e-05/0.005903, allocations: 84.16 kB / 0.5497 GB, free: 24.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.005905, allocations: 0 / 0.5497 GB, free: 24.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 9.139e-05/0.005997, allocations: 151.8 kB / 0.5498 GB, free: 24.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.006023, allocations: 32.52 kB / 0.5499 GB, free: 24.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.006027, allocations: 0 / 0.5499 GB, free: 24.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.006036, allocations: 7.984 kB / 0.5499 GB, free: 24.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.006137, allocations: 27.98 kB / 0.5499 GB, free: 24.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-06/0.006139, allocations: 0 / 0.5499 GB, free: 24.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.999e-05/0.006209, allocations: 19.92 kB / 0.5499 GB, free: 24.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.138e-06/0.006218, allocations: 11.17 kB / 0.5499 GB, free: 24.72 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.56e-05/0.006264, allocations: 124.6 kB / 0.5501 GB, free: 24.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.492e-05/0.006279, allocations: 19.92 kB / 0.5501 GB, free: 24.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.00638, allocations: 90.42 kB / 0.5502 GB, free: 24.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.006382, allocations: 4 kB / 0.5502 GB, free: 24.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.006385, allocations: 2.75 kB / 0.5502 GB, free: 24.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.006388, allocations: 0 / 0.5502 GB, free: 24.47 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.906e-05/0.006457, allocations: 97.75 kB / 0.5503 GB, free: 24.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.006458, allocations: 0 / 0.5503 GB, free: 24.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.885e-05/0.006537, allocations: 35.92 kB / 0.5503 GB, free: 24.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.442e-05/0.006551, allocations: 7.953 kB / 0.5503 GB, free: 24.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.006554, allocations: 3.938 kB / 0.5503 GB, free: 24.31 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.006566, allocations: 7.984 kB / 0.5503 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.006567, allocations: 0 / 0.5503 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.006568, allocations: 0 / 0.5503 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.006709, allocations: 131.3 kB / 0.5504 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.006725, allocations: 3.938 kB / 0.5504 GB, free: 24.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.728e-05/0.006773, allocations: 15.98 kB / 0.5505 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.006809, allocations: 16 kB / 0.5505 GB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.006815, allocations: 0 / 0.5505 GB, free: 24.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.487e-05/0.00684, allocations: 43.94 kB / 0.5505 GB, free: 24.08 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00684, allocations: 0 / 0.5505 GB, free: 24.08 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001084/0.006948, allocations: 39.92 kB / 0.5505 GB, free: 24.04 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.01e-05/0.007018, allocations: 80.36 kB / 0.5506 GB, free: 23.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001285/0.007147, allocations: 158 kB / 0.5508 GB, free: 23.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.00715, allocations: 0 / 0.5508 GB, free: 23.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.701e-05/0.007187, allocations: 32.84 kB / 0.5508 GB, free: 23.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001444/0.007332, allocations: 55.58 kB / 0.5509 GB, free: 23.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002525/0.009857, allocations: 387.9 kB / 0.5512 GB, free: 23.28 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.565e-05/0.009903, allocations: 93.81 kB / 0.5513 GB, free: 23.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.01002, allocations: 91.34 kB / 0.5514 GB, free: 23.08 MB / 410.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01002, allocations: 4 kB / 0.5514 GB, free: 23.07 MB / 410.7 MB Notification: Performance of Templates: time 0.002103/0.01213, allocations: 2.036 MB / 0.5534 GB, free: 21.07 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin_Palm1987_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin_Palm1987_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin_Palm1987_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin_Palm1987_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin_Palm1987_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin_Palm1987_reference > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin_Palm1987_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.271054128184915]