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.0006092/0.0006092, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001047/0.001656, allocations: 455.9 kB / 10.35 MB, free: 348 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.0007007/0.0007007, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008932/0.001594, allocations: 475.7 kB / 11.7 MB, free: 2.465 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.149/1.149, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09671/1.245, allocations: 53.66 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.8299/0.8299, allocations: 291.2 MB / 0.5227 GB, free: 52.7 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03581/0.8657, allocations: 21.04 MB / 0.5432 GB, free: 31.72 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 2.043e-06/2.043e-06, allocations: 3.938 kB / 0.5447 GB, free: 30.3 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.153e-05/2.357e-05, allocations: 6.25 kB / 0.5447 GB, free: 30.29 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin): time 0.002211/0.002234, allocations: 1.956 MB / 0.5466 GB, free: 28.33 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008661/0.003101, allocations: 0.5731 MB / 0.5471 GB, free: 27.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.32e-05/0.003174, allocations: 7.875 kB / 0.5471 GB, free: 27.74 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.599e-05/0.00325, allocations: 11.92 kB / 0.5471 GB, free: 27.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003331/0.003583, allocations: 67.48 kB / 0.5472 GB, free: 27.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001863/0.003769, allocations: 63.83 kB / 0.5473 GB, free: 27.6 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002121/0.003981, allocations: 164 kB / 0.5474 GB, free: 27.44 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.329e-05/0.004035, allocations: 13.89 kB / 0.5474 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001716/0.004206, allocations: 119.7 kB / 0.5476 GB, free: 27.31 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002142/0.00442, allocations: 71.84 kB / 0.5476 GB, free: 27.24 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.699e-05/0.004457, allocations: 8 kB / 0.5476 GB, free: 27.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.375e-05/0.004481, allocations: 8 kB / 0.5476 GB, free: 27.22 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.685e-05/0.004538, allocations: 27.86 kB / 0.5477 GB, free: 27.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.321e-05/0.004591, allocations: 31.94 kB / 0.5477 GB, free: 27.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.004736, allocations: 67.75 kB / 0.5478 GB, free: 27.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.54e-05/0.004751, allocations: 4 kB / 0.5478 GB, free: 27.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.614e-06/0.004753, allocations: 0 / 0.5478 GB, free: 27.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.004766, allocations: 0 / 0.5478 GB, free: 27.09 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.0006256/0.005392, allocations: 392.1 kB / 0.5481 GB, free: 26.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.005427, allocations: 11.89 kB / 0.5482 GB, free: 26.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.73e-05/0.005474, allocations: 12.92 kB / 0.5482 GB, free: 26.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.005632, allocations: 157.8 kB / 0.5483 GB, free: 26.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.005651, allocations: 8.375 kB / 0.5483 GB, free: 26.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.005674, allocations: 8.375 kB / 0.5483 GB, free: 26.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.005812, allocations: 85.02 kB / 0.5484 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.005819, allocations: 3.938 kB / 0.5484 GB, free: 26.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.005828, allocations: 4 kB / 0.5484 GB, free: 26.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.005832, allocations: 4 kB / 0.5484 GB, free: 26.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.985e-05/0.005872, allocations: 15.98 kB / 0.5484 GB, free: 26.35 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002573/0.00613, allocations: 205.8 kB / 0.5486 GB, free: 26.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.006236, allocations: 110.9 kB / 0.5487 GB, free: 26.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.968e-05/0.006266, allocations: 24.84 kB / 0.5488 GB, free: 25.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.006283, allocations: 4 kB / 0.5488 GB, free: 25.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001281/0.006412, allocations: 86.23 kB / 0.5488 GB, free: 25.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.924e-06/0.006413, allocations: 7.938 kB / 0.5489 GB, free: 25.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001508/0.006564, allocations: 97.62 kB / 0.5489 GB, free: 25.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.006594, allocations: 51.41 kB / 0.549 GB, free: 25.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.112e-05/0.006665, allocations: 146.6 kB / 0.5491 GB, free: 25.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.006677, allocations: 29.7 kB / 0.5492 GB, free: 25.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.847e-05/0.006715, allocations: 96.06 kB / 0.5493 GB, free: 25.42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.006745, allocations: 47.61 kB / 0.5493 GB, free: 25.37 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.882e-05/0.006794, allocations: 41.64 kB / 0.5493 GB, free: 25.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.801e-05/0.006842, allocations: 326.8 kB / 0.5497 GB, free: 25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.685e-05/0.006878, allocations: 44.52 kB / 0.5497 GB, free: 24.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.984e-05/0.006938, allocations: 161.2 kB / 0.5499 GB, free: 24.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.278e-05/0.007001, allocations: 88.16 kB / 0.5499 GB, free: 24.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.007003, allocations: 0 / 0.5499 GB, free: 24.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001059/0.007109, allocations: 151 kB / 0.5501 GB, free: 24.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.582e-05/0.007145, allocations: 33.69 kB / 0.5501 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.007151, allocations: 0 / 0.5501 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.406e-06/0.00716, allocations: 4 kB / 0.5501 GB, free: 24.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.007296, allocations: 31.92 kB / 0.5501 GB, free: 24.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.0073, allocations: 0 / 0.5501 GB, free: 24.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.187e-05/0.007371, allocations: 19.98 kB / 0.5502 GB, free: 24.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.00738, allocations: 4 kB / 0.5502 GB, free: 24.39 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.083e-05/0.007441, allocations: 116.7 kB / 0.5503 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.679e-05/0.007458, allocations: 19.92 kB / 0.5503 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.007566, allocations: 94.36 kB / 0.5504 GB, free: 24.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.007568, allocations: 4 kB / 0.5504 GB, free: 24.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.00757, allocations: 224 / 0.5504 GB, free: 24.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.007574, allocations: 0 / 0.5504 GB, free: 24.15 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.631e-05/0.00765, allocations: 101.7 kB / 0.5505 GB, free: 24.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.007652, allocations: 3.25 kB / 0.5505 GB, free: 24.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.078e-05/0.007733, allocations: 31.98 kB / 0.5505 GB, free: 24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.551e-05/0.007748, allocations: 11.94 kB / 0.5505 GB, free: 23.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.007752, allocations: 7.938 kB / 0.5505 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.007764, allocations: 0 / 0.5505 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.007767, allocations: 0 / 0.5505 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.007767, allocations: 0 / 0.5505 GB, free: 23.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.007899, allocations: 139.2 kB / 0.5507 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.007919, allocations: 3.938 kB / 0.5507 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.558e-05/0.007965, allocations: 15.98 kB / 0.5507 GB, free: 23.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.407e-05/0.008009, allocations: 16 kB / 0.5507 GB, free: 23.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.008016, allocations: 4 kB / 0.5507 GB, free: 23.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.9e-05/0.008045, allocations: 43.92 kB / 0.5508 GB, free: 23.74 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008045, allocations: 0 / 0.5508 GB, free: 23.74 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001193/0.008164, allocations: 32 kB / 0.5508 GB, free: 23.71 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 8.376e-05/0.008248, allocations: 80.36 kB / 0.5509 GB, free: 23.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001339/0.008382, allocations: 153.8 kB / 0.551 GB, free: 23.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.008388, allocations: 0 / 0.551 GB, free: 23.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.185e-05/0.00844, allocations: 56.94 kB / 0.5511 GB, free: 23.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.008599, allocations: 53.2 kB / 0.5511 GB, free: 23.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002458/0.01106, allocations: 346.2 kB / 0.5514 GB, free: 22.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.504e-05/0.01108, allocations: 67.84 kB / 0.5515 GB, free: 22.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.887e-05/0.01114, allocations: 21.52 kB / 0.5515 GB, free: 22.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.01125, allocations: 91.28 kB / 0.5516 GB, free: 22.79 MB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/0.01125, allocations: 0 / 0.5516 GB, free: 22.79 MB / 410.7 MB Notification: Performance of Templates: time 0.004093/0.01534, allocations: 2.729 MB / 0.5543 GB, free: 20.13 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.612388209439814]