Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead.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.002483/0.002483, allocations: 109.5 kB / 18.95 MB, free: 1.18 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.002808/0.002808, allocations: 213.9 kB / 22.25 MB, free: 3.582 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.739/1.739, allocations: 230.6 MB / 256 MB, free: 9.605 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.468/1.468, allocations: 316.7 MB / 0.6144 GB, free: 93.05 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.TetraethylLead.TetraethylLead,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead") [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.004179/0.004179, allocations: 73.48 kB / 0.775 GB, free: 14.73 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.199, allocations: 73.99 MB / 0.8473 GB, free: 4.875 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead): time 0.003581/0.2026, allocations: 1.823 MB / 0.849 GB, free: 3.055 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.2038, allocations: 0.542 MB / 0.8496 GB, free: 2.512 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.862e-05/0.2039, allocations: 0.5 kB / 0.8496 GB, free: 2.512 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.204, allocations: 15.84 kB / 0.8496 GB, free: 2.496 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003737/0.2043, allocations: 68.84 kB / 0.8496 GB, free: 2.43 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.2045, allocations: 62.27 kB / 0.8497 GB, free: 2.371 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002637/0.2048, allocations: 167.3 kB / 0.8499 GB, free: 2.207 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.263e-05/0.2048, allocations: 9.844 kB / 0.8499 GB, free: 2.199 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.205, allocations: 72.34 kB / 0.8499 GB, free: 2.129 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002814/0.2052, allocations: 80.33 kB / 0.85 GB, free: 2.051 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.274e-05/0.2053, allocations: 8 kB / 0.85 GB, free: 2.043 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.175e-05/0.2053, allocations: 8.625 kB / 0.85 GB, free: 2.035 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.127e-05/0.2054, allocations: 31.84 kB / 0.8501 GB, free: 2.004 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.578e-05/0.2055, allocations: 50.66 kB / 0.8501 GB, free: 1.957 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.2057, allocations: 99.56 kB / 0.8502 GB, free: 1.859 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.2057, allocations: 4 kB / 0.8502 GB, free: 1.855 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2057, allocations: 0 / 0.8502 GB, free: 1.855 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.2057, allocations: 0 / 0.8502 GB, free: 1.855 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.0009201/0.2066, allocations: 388.5 kB / 0.8506 GB, free: 1.441 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.2066, allocations: 8.031 kB / 0.8506 GB, free: 1.434 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.507e-05/0.2067, allocations: 22.52 kB / 0.8506 GB, free: 1.414 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.2069, allocations: 146.9 kB / 0.8508 GB, free: 1.246 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.2069, allocations: 12.36 kB / 0.8508 GB, free: 1.234 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.358e-05/0.207, allocations: 16.06 kB / 0.8508 GB, free: 1.219 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002855/0.2073, allocations: 102 kB / 0.8509 GB, free: 1.117 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.2073, allocations: 0.9062 kB / 0.8509 GB, free: 1.117 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.2073, allocations: 0 / 0.8509 GB, free: 1.117 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.2073, allocations: 4 kB / 0.8509 GB, free: 1.113 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002899/0.2076, allocations: 81.06 kB / 0.851 GB, free: 1.035 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000565/0.2082, allocations: 285.5 kB / 0.8512 GB, free: 0.7266 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004118/0.2086, allocations: 131.5 kB / 0.8514 GB, free: 0.5898 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.2087, allocations: 56.81 kB / 0.8514 GB, free: 0.5312 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.2088, allocations: 2 kB / 0.8514 GB, free: 0.5312 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003099/0.2091, allocations: 107.3 kB / 0.8515 GB, free: 424 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.2091, allocations: 4 kB / 0.8515 GB, free: 420 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006132/0.2097, allocations: 200 kB / 0.8517 GB, free: 216 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.2097, allocations: 55.41 kB / 0.8518 GB, free: 148 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/0.21, allocations: 158.5 kB / 0.8519 GB, free: 15.98 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.21, allocations: 25.7 kB / 0.8519 GB, free: 15.95 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.889e-05/0.2101, allocations: 108 kB / 0.852 GB, free: 15.84 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.188e-05/0.2101, allocations: 48.17 kB / 0.8521 GB, free: 15.79 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.746e-05/0.2102, allocations: 33.7 kB / 0.8521 GB, free: 15.75 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.2104, allocations: 327.3 kB / 0.8524 GB, free: 15.43 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/0.2106, allocations: 82.28 kB / 0.8525 GB, free: 15.34 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003196/0.2109, allocations: 203.2 kB / 0.8527 GB, free: 15.11 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003515/0.2113, allocations: 153.6 kB / 0.8529 GB, free: 14.95 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.2113, allocations: 0.5938 kB / 0.8529 GB, free: 14.95 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004956/0.2118, allocations: 237.5 kB / 0.8531 GB, free: 14.7 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.663e-05/0.2118, allocations: 30.36 kB / 0.8531 GB, free: 14.66 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.2118, allocations: 0.6875 kB / 0.8531 GB, free: 14.66 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.2118, allocations: 0 / 0.8531 GB, free: 14.66 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.212, allocations: 36.69 kB / 0.8531 GB, free: 14.63 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.212, allocations: 8.516 kB / 0.8532 GB, free: 14.62 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.2122, allocations: 24.31 kB / 0.8532 GB, free: 14.6 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.2122, allocations: 4.562 kB / 0.8532 GB, free: 14.59 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.0001378/0.2124, allocations: 134.3 kB / 0.8533 GB, free: 14.45 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/0.2124, allocations: 7.953 kB / 0.8533 GB, free: 14.45 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004907/0.2129, allocations: 175.5 kB / 0.8535 GB, free: 14.27 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.2129, allocations: 4.906 kB / 0.8535 GB, free: 14.27 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.2129, allocations: 0 / 0.8535 GB, free: 14.27 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.2129, allocations: 0 / 0.8535 GB, free: 14.27 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.2131, allocations: 153.8 kB / 0.8536 GB, free: 14.09 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.2131, allocations: 4.688 kB / 0.8536 GB, free: 14.08 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.2132, allocations: 19.98 kB / 0.8537 GB, free: 14.06 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.2132, allocations: 8.609 kB / 0.8537 GB, free: 14.05 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.2133, allocations: 0.625 kB / 0.8537 GB, free: 14.05 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.2133, allocations: 0 / 0.8537 GB, free: 14.05 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2133, allocations: 0.5312 kB / 0.8537 GB, free: 14.05 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006507/0.2139, allocations: 256.8 kB / 0.8539 GB, free: 13.79 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.336e-05/0.2139, allocations: 16.5 kB / 0.8539 GB, free: 13.77 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.06e-05/0.214, allocations: 8 kB / 0.8539 GB, free: 13.77 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.2141, allocations: 13.11 kB / 0.8539 GB, free: 13.75 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.4e-05/0.2142, allocations: 20 kB / 0.854 GB, free: 13.73 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.2142, allocations: 4.594 kB / 0.854 GB, free: 13.73 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001245/0.2143, allocations: 122.4 kB / 0.8541 GB, free: 13.61 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.2143, allocations: 0 / 0.8541 GB, free: 13.61 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002196/0.2145, allocations: 32.56 kB / 0.8541 GB, free: 13.58 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.0004502/0.215, allocations: 100.5 kB / 0.8542 GB, free: 13.48 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005007/0.2155, allocations: 211.7 kB / 0.8544 GB, free: 13.25 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2155, allocations: 0.6562 kB / 0.8544 GB, free: 13.25 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002161/0.2157, allocations: 68.48 kB / 0.8545 GB, free: 13.19 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.216, allocations: 41.69 kB / 0.8545 GB, free: 13.15 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008346/0.2169, allocations: 322.8 kB / 0.8548 GB, free: 12.81 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.217, allocations: 107.3 kB / 0.8549 GB, free: 12.68 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001045/0.2171, allocations: 19.95 kB / 0.855 GB, free: 12.67 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.98e-05/0.2172, allocations: 23.98 kB / 0.855 GB, free: 12.64 MB / 490.8 MB Notification: Performance of SimCode: time 6.21e-07/0.2172, allocations: 0.625 kB / 0.855 GB, free: 12.64 MB / 490.8 MB Notification: Performance of Templates: time 0.2905/0.5077, allocations: 2.629 MB / 0.8575 GB, free: 28.18 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.TetraethylLead.TetraethylLead.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.4993413630872965]