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.001128/0.001128, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001824/0.002952, allocations: 443.9 kB / 10.36 MB, free: 332 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.0007827/0.0007827, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001042/0.001825, allocations: 475.7 kB / 11.72 MB, free: 2.453 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.025/1.025, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1113/1.136, allocations: 53.67 MB / 243.3 MB, free: 15.57 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.7862/0.7862, allocations: 291.2 MB / 0.5226 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03752/0.8237, allocations: 21.04 MB / 0.5432 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_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.422e-06/1.422e-06, allocations: 0 / 0.5446 GB, free: 30.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.192e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin_Palm1987_reference): time 0.002412/0.002434, allocations: 1.954 MB / 0.5465 GB, free: 28.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000925/0.003359, allocations: 0.5728 MB / 0.547 GB, free: 28.01 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.387e-05/0.003432, allocations: 0 / 0.547 GB, free: 28.01 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.537e-05/0.003498, allocations: 11.86 kB / 0.547 GB, free: 28 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002705/0.003768, allocations: 71.47 kB / 0.5471 GB, free: 27.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001895/0.003958, allocations: 63.83 kB / 0.5472 GB, free: 27.87 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002169/0.004175, allocations: 164 kB / 0.5473 GB, free: 27.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.61e-05/0.004221, allocations: 9.953 kB / 0.5473 GB, free: 27.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.004373, allocations: 119.7 kB / 0.5475 GB, free: 27.58 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.00458, allocations: 79.77 kB / 0.5475 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.004603, allocations: 8 kB / 0.5475 GB, free: 27.49 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.801e-05/0.004621, allocations: 4 kB / 0.5475 GB, free: 27.49 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.985e-05/0.004671, allocations: 27.92 kB / 0.5476 GB, free: 27.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.614e-05/0.004717, allocations: 27.94 kB / 0.5476 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.004835, allocations: 71.75 kB / 0.5477 GB, free: 27.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.345e-05/0.004848, allocations: 4 kB / 0.5477 GB, free: 27.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.00485, allocations: 3.938 kB / 0.5477 GB, free: 27.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.004862, allocations: 0 / 0.5477 GB, free: 27.36 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.0005523/0.005414, allocations: 384.2 kB / 0.548 GB, free: 26.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.005451, allocations: 15.97 kB / 0.5481 GB, free: 26.94 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.755e-05/0.005489, allocations: 12.92 kB / 0.5481 GB, free: 26.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.005622, allocations: 154.8 kB / 0.5482 GB, free: 26.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.005646, allocations: 8.375 kB / 0.5482 GB, free: 26.74 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.005673, allocations: 8.359 kB / 0.5482 GB, free: 26.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.00582, allocations: 77.03 kB / 0.5483 GB, free: 26.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.005828, allocations: 7.938 kB / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.005838, allocations: 4 kB / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.005844, allocations: 0 / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.496e-05/0.005889, allocations: 27.91 kB / 0.5483 GB, free: 26.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003028/0.006191, allocations: 197.9 kB / 0.5485 GB, free: 26.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001/0.006291, allocations: 114.9 kB / 0.5486 GB, free: 26.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.565e-05/0.006317, allocations: 12.86 kB / 0.5487 GB, free: 26.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.006331, allocations: 4 kB / 0.5487 GB, free: 26.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001048/0.006436, allocations: 102.2 kB / 0.5488 GB, free: 26.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.006437, allocations: 0 / 0.5488 GB, free: 26.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001301/0.006568, allocations: 85.66 kB / 0.5488 GB, free: 26.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.647e-05/0.006584, allocations: 55.41 kB / 0.5489 GB, free: 25.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.23e-05/0.006646, allocations: 142.6 kB / 0.549 GB, free: 25.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.00666, allocations: 37.69 kB / 0.5491 GB, free: 25.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.012e-05/0.00669, allocations: 92.08 kB / 0.5491 GB, free: 25.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.006713, allocations: 39.84 kB / 0.5492 GB, free: 25.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/0.006753, allocations: 45.64 kB / 0.5492 GB, free: 25.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.552e-05/0.006789, allocations: 326.7 kB / 0.5495 GB, free: 25.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.471e-05/0.006824, allocations: 56.45 kB / 0.5496 GB, free: 25.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.265e-05/0.006876, allocations: 162.1 kB / 0.5497 GB, free: 25.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.131e-05/0.006937, allocations: 82.83 kB / 0.5498 GB, free: 24.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.00694, allocations: 0 / 0.5498 GB, free: 24.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001066/0.007046, allocations: 147.9 kB / 0.55 GB, free: 24.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.007074, allocations: 33.7 kB / 0.55 GB, free: 24.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.007079, allocations: 3.984 kB / 0.55 GB, free: 24.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.007089, allocations: 0 / 0.55 GB, free: 24.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.007204, allocations: 31.92 kB / 0.55 GB, free: 24.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.925e-06/0.007207, allocations: 8 kB / 0.55 GB, free: 24.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.59e-05/0.007273, allocations: 15.98 kB / 0.5501 GB, free: 24.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.007282, allocations: 3.062 kB / 0.5501 GB, free: 24.67 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.506e-05/0.007337, allocations: 120.7 kB / 0.5502 GB, free: 24.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/0.007352, allocations: 15.92 kB / 0.5502 GB, free: 24.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/0.007469, allocations: 98.36 kB / 0.5503 GB, free: 24.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.007472, allocations: 0 / 0.5503 GB, free: 24.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.007473, allocations: 0 / 0.5503 GB, free: 24.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.749e-05/0.007491, allocations: 19.83 kB / 0.5503 GB, free: 24.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.007504, allocations: 8 kB / 0.5503 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.007522, allocations: 4 kB / 0.5503 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.31e-05/0.007575, allocations: 7.984 kB / 0.5503 GB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/0.007622, allocations: 15.97 kB / 0.5503 GB, free: 24.37 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001595/0.007782, allocations: 213.3 kB / 0.5505 GB, free: 24.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001534/0.007935, allocations: 328.4 kB / 0.5509 GB, free: 23.81 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.871e-05/0.007984, allocations: 28.86 kB / 0.5509 GB, free: 23.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.285e-05/0.008017, allocations: 50.53 kB / 0.5509 GB, free: 23.73 MB / 410.7 MB Notification: Performance of Backend: time 4.31e-07/0.008017, allocations: 0 / 0.5509 GB, free: 23.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002681/0.008285, allocations: 207.9 kB / 0.5511 GB, free: 23.5 MB / 410.7 MB Notification: Performance of SimCode: time 0.002501/0.01079, allocations: 0.8784 MB / 0.552 GB, free: 22.58 MB / 410.7 MB Notification: Performance of Templates: time 0.004145/0.01493, allocations: 2.954 MB / 0.5549 GB, free: 19.69 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin_Palm1987_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.492646618746221]