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.0007572/0.0007572, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001038/0.001795, 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.001106/0.001106, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001439/0.002545, 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.049/1.049, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09521/1.145, allocations: 53.68 MB / 243.3 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.7874/0.7874, allocations: 291.2 MB / 0.5226 GB, free: 52.47 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03859/0.826, allocations: 21.04 MB / 0.5432 GB, free: 31.49 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 3.166e-06/3.166e-06, allocations: 0 / 0.5446 GB, free: 30.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.792e-05/3.109e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin): time 0.004086/0.004117, allocations: 1.964 MB / 0.5465 GB, free: 28.1 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008415/0.004959, allocations: 0.5731 MB / 0.5471 GB, free: 27.52 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.393e-05/0.005023, allocations: 7.938 kB / 0.5471 GB, free: 27.51 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.359e-05/0.005086, allocations: 7.922 kB / 0.5471 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002629/0.005349, allocations: 71.42 kB / 0.5471 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001687/0.005518, allocations: 63.83 kB / 0.5472 GB, free: 27.37 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.005702, allocations: 168 kB / 0.5474 GB, free: 27.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.735e-05/0.005749, allocations: 9.953 kB / 0.5474 GB, free: 27.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.005911, allocations: 115.7 kB / 0.5475 GB, free: 27.08 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002096/0.00612, allocations: 75.78 kB / 0.5476 GB, free: 27.01 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.006144, allocations: 8 kB / 0.5476 GB, free: 27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.081e-05/0.006164, allocations: 8 kB / 0.5476 GB, free: 26.99 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.615e-05/0.006211, allocations: 19.92 kB / 0.5476 GB, free: 26.97 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.695e-05/0.006258, allocations: 31.94 kB / 0.5476 GB, free: 26.94 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.006382, allocations: 75.69 kB / 0.5477 GB, free: 26.87 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.358e-05/0.006395, allocations: 0 / 0.5477 GB, free: 26.87 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.006397, allocations: 0 / 0.5477 GB, free: 26.87 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.006412, allocations: 0 / 0.5477 GB, free: 26.87 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.0005814/0.006993, allocations: 392.1 kB / 0.5481 GB, free: 26.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.007029, allocations: 11.89 kB / 0.5481 GB, free: 26.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.007072, allocations: 16.92 kB / 0.5481 GB, free: 26.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.007221, allocations: 154.8 kB / 0.5482 GB, free: 26.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.007242, allocations: 4.375 kB / 0.5482 GB, free: 26.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.007268, allocations: 12.38 kB / 0.5483 GB, free: 26.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.007405, allocations: 81.02 kB / 0.5483 GB, free: 26.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.007413, allocations: 3.938 kB / 0.5483 GB, free: 26.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.007423, allocations: 8 kB / 0.5483 GB, free: 26.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.00743, allocations: 4 kB / 0.5484 GB, free: 26.13 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.005e-05/0.00747, allocations: 19.92 kB / 0.5484 GB, free: 26.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002674/0.007738, allocations: 197.9 kB / 0.5486 GB, free: 25.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.007858, allocations: 117.6 kB / 0.5487 GB, free: 25.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.816e-05/0.007886, allocations: 24.84 kB / 0.5487 GB, free: 25.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.007902, allocations: 4 kB / 0.5487 GB, free: 25.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001262/0.008028, allocations: 90.17 kB / 0.5488 GB, free: 25.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.008029, allocations: 8 kB / 0.5488 GB, free: 25.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001496/0.008179, allocations: 81.66 kB / 0.5489 GB, free: 25.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.972e-05/0.008199, allocations: 55.41 kB / 0.5489 GB, free: 25.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.814e-05/0.008267, allocations: 146.6 kB / 0.5491 GB, free: 25.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.00828, allocations: 29.92 kB / 0.5491 GB, free: 25.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.443e-05/0.008314, allocations: 100.1 kB / 0.5492 GB, free: 25.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.008338, allocations: 47.55 kB / 0.5492 GB, free: 25.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.772e-05/0.008386, allocations: 41.64 kB / 0.5493 GB, free: 25.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.897e-05/0.008425, allocations: 326.8 kB / 0.5496 GB, free: 24.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.856e-05/0.008464, allocations: 44.52 kB / 0.5496 GB, free: 24.72 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.969e-05/0.008523, allocations: 169.2 kB / 0.5498 GB, free: 24.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.478e-05/0.008588, allocations: 83.55 kB / 0.5499 GB, free: 24.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.008591, allocations: 0 / 0.5499 GB, free: 24.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001037/0.008694, allocations: 143.8 kB / 0.55 GB, free: 24.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.271e-05/0.008727, allocations: 37.69 kB / 0.55 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.008731, allocations: 4 kB / 0.55 GB, free: 24.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.008744, allocations: 0 / 0.55 GB, free: 24.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.008866, allocations: 31.92 kB / 0.5501 GB, free: 24.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-06/0.00887, allocations: 0 / 0.5501 GB, free: 24.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.306e-05/0.008943, allocations: 19.98 kB / 0.5501 GB, free: 24.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.008951, allocations: 4 kB / 0.5501 GB, free: 24.17 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 6.677e-05/0.009018, allocations: 116.7 kB / 0.5502 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.77e-05/0.009036, allocations: 19.95 kB / 0.5502 GB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001426/0.009178, allocations: 98.36 kB / 0.5503 GB, free: 23.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.009184, allocations: 0 / 0.5503 GB, free: 23.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.009185, allocations: 0 / 0.5503 GB, free: 23.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.081e-05/0.009206, allocations: 19.83 kB / 0.5503 GB, free: 23.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.009223, allocations: 7.984 kB / 0.5503 GB, free: 23.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.009242, allocations: 4 kB / 0.5504 GB, free: 23.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.541e-05/0.009297, allocations: 15.98 kB / 0.5504 GB, free: 23.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.009338, allocations: 7.984 kB / 0.5504 GB, free: 23.87 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001688/0.009507, allocations: 208.8 kB / 0.5506 GB, free: 23.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001712/0.009678, allocations: 337 kB / 0.5509 GB, free: 23.31 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.331e-05/0.009721, allocations: 28.83 kB / 0.5509 GB, free: 23.28 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.972e-05/0.009751, allocations: 38.52 kB / 0.551 GB, free: 23.24 MB / 410.7 MB Notification: Performance of Backend: time 3.4e-07/0.009752, allocations: 0 / 0.551 GB, free: 23.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002968/0.01005, allocations: 220.2 kB / 0.5512 GB, free: 23 MB / 410.7 MB Notification: Performance of SimCode: time 0.00262/0.01267, allocations: 0.8716 MB / 0.552 GB, free: 22.08 MB / 410.7 MB Notification: Performance of Templates: time 0.004365/0.01703, allocations: 2.945 MB / 0.5549 GB, free: 19.21 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 -s=ida > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.493394427932799]