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.002703/0.002703, allocations: 109.5 kB / 18.95 MB, free: 1.172 MB / 13.93 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.003243/0.003243, allocations: 218.2 kB / 22.25 MB, free: 3.559 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.906/1.906, allocations: 230.6 MB / 256 MB, free: 9.613 MB / 202.7 MB " [Timeout remaining time 178] 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 1.462/1.462, allocations: 316.7 MB / 0.6144 GB, free: 93.45 MB / 410.7 MB " [Timeout remaining time 178] 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=499,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=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin_Palm1987_reference") [Timeout 660] "Notification: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003856/0.003856, allocations: 69.27 kB / 0.775 GB, free: 15.03 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.2035, allocations: 74 MB / 0.8472 GB, free: 5.164 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin_Palm1987_reference): time 0.004037/0.2075, allocations: 1.808 MB / 0.849 GB, free: 3.355 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.2089, allocations: 0.5474 MB / 0.8495 GB, free: 2.809 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.534e-05/0.209, allocations: 0 / 0.8495 GB, free: 2.809 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001375/0.2091, allocations: 11.86 kB / 0.8495 GB, free: 2.797 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004187/0.2096, allocations: 63.61 kB / 0.8496 GB, free: 2.734 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.2098, allocations: 66.83 kB / 0.8497 GB, free: 2.672 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003277/0.2101, allocations: 163.3 kB / 0.8498 GB, free: 2.512 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.058e-05/0.2102, allocations: 9.312 kB / 0.8498 GB, free: 2.504 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.2103, allocations: 78.31 kB / 0.8499 GB, free: 2.43 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002915/0.2106, allocations: 79.72 kB / 0.85 GB, free: 2.352 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.375e-05/0.2106, allocations: 7.938 kB / 0.85 GB, free: 2.344 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.544e-05/0.2107, allocations: 8 kB / 0.85 GB, free: 2.336 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 8.294e-05/0.2108, allocations: 31.89 kB / 0.85 GB, free: 2.305 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.557e-05/0.2109, allocations: 47.78 kB / 0.8501 GB, free: 2.258 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.2111, allocations: 99.52 kB / 0.8502 GB, free: 2.16 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2111, allocations: 0.7812 kB / 0.8502 GB, free: 2.16 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.244e-06/0.2111, allocations: 0 / 0.8502 GB, free: 2.16 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.2111, allocations: 1.031 kB / 0.8502 GB, free: 2.16 MB / 474.8 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.001005/0.2121, allocations: 392.8 kB / 0.8505 GB, free: 1.742 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.2121, allocations: 11.89 kB / 0.8505 GB, free: 1.73 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.256e-05/0.2122, allocations: 17.41 kB / 0.8506 GB, free: 1.715 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.2125, allocations: 151.3 kB / 0.8507 GB, free: 1.543 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.2125, allocations: 8.969 kB / 0.8507 GB, free: 1.535 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.642e-05/0.2125, allocations: 12.12 kB / 0.8507 GB, free: 1.523 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002955/0.2128, allocations: 106.1 kB / 0.8508 GB, free: 1.418 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.2128, allocations: 4.5 kB / 0.8508 GB, free: 1.414 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/0.2129, allocations: 0 / 0.8508 GB, free: 1.414 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.2129, allocations: 5.938 kB / 0.8508 GB, free: 1.41 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000296/0.2132, allocations: 75.92 kB / 0.8509 GB, free: 1.336 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005765/0.2137, allocations: 288.3 kB / 0.8512 GB, free: 1.023 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004381/0.2142, allocations: 133.3 kB / 0.8513 GB, free: 0.8867 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.2143, allocations: 52.81 kB / 0.8514 GB, free: 0.832 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.2144, allocations: 0 / 0.8514 GB, free: 0.832 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003114/0.2147, allocations: 119.3 kB / 0.8515 GB, free: 0.7031 MB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.2147, allocations: 1.094 kB / 0.8515 GB, free: 0.7031 MB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0007114/0.2154, allocations: 199.5 kB / 0.8517 GB, free: 0.5039 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.062e-05/0.2155, allocations: 55.41 kB / 0.8517 GB, free: 448 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.2157, allocations: 161.5 kB / 0.8519 GB, free: 280 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.2157, allocations: 25.7 kB / 0.8519 GB, free: 248 kB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.2158, allocations: 112.7 kB / 0.852 GB, free: 132 kB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.034e-05/0.2158, allocations: 43.64 kB / 0.8521 GB, free: 88 kB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.575e-05/0.2159, allocations: 35.77 kB / 0.8521 GB, free: 48 kB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.2161, allocations: 326.8 kB / 0.8524 GB, free: 15.72 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.2163, allocations: 81.66 kB / 0.8525 GB, free: 15.63 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003023/0.2166, allocations: 198.1 kB / 0.8527 GB, free: 15.4 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003614/0.217, allocations: 149.9 kB / 0.8528 GB, free: 15.25 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.217, allocations: 0.5938 kB / 0.8528 GB, free: 15.25 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005084/0.2175, allocations: 241.4 kB / 0.853 GB, free: 15 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.198e-05/0.2175, allocations: 30.42 kB / 0.8531 GB, free: 14.96 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.2175, allocations: 0 / 0.8531 GB, free: 14.96 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.2176, allocations: 4.594 kB / 0.8531 GB, free: 14.96 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.2178, allocations: 36.66 kB / 0.8531 GB, free: 14.92 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.2178, allocations: 0 / 0.8531 GB, free: 14.92 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.2179, allocations: 24.72 kB / 0.8531 GB, free: 14.9 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.218, allocations: 8.531 kB / 0.8531 GB, free: 14.89 MB / 490.8 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 0.0001323/0.2181, allocations: 130.9 kB / 0.8533 GB, free: 14.75 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.2181, allocations: 8.516 kB / 0.8533 GB, free: 14.75 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004778/0.2186, allocations: 175.3 kB / 0.8534 GB, free: 14.57 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.2186, allocations: 4.5 kB / 0.8534 GB, free: 14.57 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.2186, allocations: 0 / 0.8534 GB, free: 14.57 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.2186, allocations: 4.703 kB / 0.8534 GB, free: 14.56 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.2188, allocations: 153.2 kB / 0.8536 GB, free: 14.38 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2188, allocations: 0.6875 kB / 0.8536 GB, free: 14.38 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.219, allocations: 20.61 kB / 0.8536 GB, free: 14.36 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.219, allocations: 4 kB / 0.8536 GB, free: 14.36 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.219, allocations: 4.531 kB / 0.8536 GB, free: 14.36 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.219, allocations: 0.625 kB / 0.8536 GB, free: 14.36 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.219, allocations: 3.984 kB / 0.8536 GB, free: 14.35 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006474/0.2197, allocations: 257.2 kB / 0.8539 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.141e-05/0.2197, allocations: 15.92 kB / 0.8539 GB, free: 14.07 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.402e-05/0.2197, allocations: 8.578 kB / 0.8539 GB, free: 14.06 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.2199, allocations: 12.58 kB / 0.8539 GB, free: 14.05 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.487e-05/0.2199, allocations: 12.52 kB / 0.8539 GB, free: 14.04 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.2199, allocations: 7.984 kB / 0.8539 GB, free: 14.03 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000133/0.2201, allocations: 122.5 kB / 0.854 GB, free: 13.91 MB / 490.8 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2201, allocations: 0.8125 kB / 0.854 GB, free: 13.91 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002204/0.2203, allocations: 32 kB / 0.8541 GB, free: 13.88 MB / 490.8 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 0.0001492/0.2204, allocations: 98.5 kB / 0.8542 GB, free: 13.78 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005341/0.221, allocations: 218.2 kB / 0.8544 GB, free: 13.55 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.221, allocations: 0.75 kB / 0.8544 GB, free: 13.55 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.2212, allocations: 64.39 kB / 0.8544 GB, free: 13.49 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.2215, allocations: 44.06 kB / 0.8545 GB, free: 13.45 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008327/0.2224, allocations: 326.5 kB / 0.8548 GB, free: 13.11 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.2225, allocations: 103.2 kB / 0.8549 GB, free: 12.98 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001021/0.2226, allocations: 20.73 kB / 0.8549 GB, free: 12.97 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.948e-05/0.2227, allocations: 19.44 kB / 0.8549 GB, free: 12.95 MB / 490.8 MB Notification: Performance of SimCode: time 3.1e-07/0.2227, allocations: 0.5 kB / 0.8549 GB, free: 12.95 MB / 490.8 MB Notification: Performance of Templates: time 0.2833/0.5059, allocations: 2.616 MB / 0.8575 GB, free: 28.18 MB / 490.8 MB " [Timeout remaining time 659] 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 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Heparin.Heparin_Palm1987_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.794432433089241]