Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012v2_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.001924/0.001924, allocations: 105.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.002056/0.002056, allocations: 216.6 kB / 22.25 MB, free: 3.57 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.793/1.793, allocations: 230.6 MB / 256 MB, free: 9.625 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.439/1.439, allocations: 316.7 MB / 0.6144 GB, free: 92.93 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.DomoicAcid.DomoicAcid_Maucher2012v2_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012v2_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012v2_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012v2_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.005652/0.005652, allocations: 69.36 kB / 0.775 GB, free: 14.8 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2175, allocations: 73.99 MB / 0.8472 GB, free: 4.945 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012v2_reference): time 0.004619/0.2221, allocations: 1.82 MB / 0.849 GB, free: 3.125 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.2237, allocations: 0.5415 MB / 0.8495 GB, free: 2.582 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.923e-05/0.2238, allocations: 0.7188 kB / 0.8495 GB, free: 2.582 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.2239, allocations: 11.86 kB / 0.8496 GB, free: 2.57 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004883/0.2244, allocations: 69.72 kB / 0.8496 GB, free: 2.504 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.2247, allocations: 64.84 kB / 0.8497 GB, free: 2.445 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003381/0.225, allocations: 164 kB / 0.8498 GB, free: 2.285 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.804e-05/0.225, allocations: 5.906 kB / 0.8498 GB, free: 2.281 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.2252, allocations: 75.64 kB / 0.8499 GB, free: 2.207 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003263/0.2255, allocations: 88.2 kB / 0.85 GB, free: 2.121 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.951e-05/0.2256, allocations: 8.562 kB / 0.85 GB, free: 2.113 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.796e-05/0.2256, allocations: 4.594 kB / 0.85 GB, free: 2.109 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 8.346e-05/0.2257, allocations: 31.84 kB / 0.85 GB, free: 2.078 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.2258, allocations: 52.52 kB / 0.8501 GB, free: 2.027 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.226, allocations: 95.58 kB / 0.8502 GB, free: 1.934 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.226, allocations: 0.5 kB / 0.8502 GB, free: 1.934 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.393e-06/0.226, allocations: 1.219 kB / 0.8502 GB, free: 1.934 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.226, allocations: 0 / 0.8502 GB, free: 1.934 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.001159/0.2272, allocations: 392.8 kB / 0.8506 GB, free: 1.516 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.2272, allocations: 12.03 kB / 0.8506 GB, free: 1.504 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.909e-05/0.2273, allocations: 15.03 kB / 0.8506 GB, free: 1.492 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003273/0.2276, allocations: 150.8 kB / 0.8507 GB, free: 1.32 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.2277, allocations: 4.375 kB / 0.8507 GB, free: 1.316 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.387e-05/0.2277, allocations: 16.12 kB / 0.8507 GB, free: 1.301 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004096/0.2281, allocations: 93.62 kB / 0.8508 GB, free: 1.203 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.2281, allocations: 2.031 kB / 0.8508 GB, free: 1.203 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.2282, allocations: 4 kB / 0.8508 GB, free: 1.199 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.2282, allocations: 4 kB / 0.8508 GB, free: 1.195 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004617/0.2286, allocations: 80.94 kB / 0.8509 GB, free: 1.117 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008537/0.2295, allocations: 284.3 kB / 0.8512 GB, free: 0.8086 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006483/0.2301, allocations: 141.3 kB / 0.8513 GB, free: 0.6641 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002522/0.2304, allocations: 48.81 kB / 0.8514 GB, free: 0.6133 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.2304, allocations: 8 kB / 0.8514 GB, free: 0.6055 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004141/0.2308, allocations: 115.3 kB / 0.8515 GB, free: 492 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.934e-06/0.2308, allocations: 0 / 0.8515 GB, free: 492 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0009409/0.2318, allocations: 199.6 kB / 0.8517 GB, free: 288 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.2318, allocations: 51.41 kB / 0.8517 GB, free: 224 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000266/0.2321, allocations: 156.5 kB / 0.8519 GB, free: 60 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 4.166e-05/0.2321, allocations: 30.2 kB / 0.8519 GB, free: 24 kB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.2323, allocations: 112.8 kB / 0.852 GB, free: 15.91 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.767e-05/0.2323, allocations: 43.62 kB / 0.8521 GB, free: 15.87 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.2325, allocations: 42.39 kB / 0.8521 GB, free: 15.82 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0002259/0.2327, allocations: 322.8 kB / 0.8524 GB, free: 15.5 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003177/0.233, allocations: 82.31 kB / 0.8525 GB, free: 15.41 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004376/0.2334, allocations: 209.4 kB / 0.8527 GB, free: 15.17 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005449/0.234, allocations: 145.4 kB / 0.8528 GB, free: 15.02 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.234, allocations: 0.5312 kB / 0.8528 GB, free: 15.02 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007661/0.2348, allocations: 238 kB / 0.8531 GB, free: 14.77 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.96e-05/0.2348, allocations: 29.7 kB / 0.8531 GB, free: 14.74 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.2348, allocations: 8.422 kB / 0.8531 GB, free: 14.73 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.2349, allocations: 4.562 kB / 0.8531 GB, free: 14.73 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000262/0.2351, allocations: 24.61 kB / 0.8531 GB, free: 14.7 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.2351, allocations: 3.938 kB / 0.8531 GB, free: 14.7 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002659/0.2354, allocations: 25.09 kB / 0.8531 GB, free: 14.68 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.726e-05/0.2354, allocations: 4 kB / 0.8531 GB, free: 14.67 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.0002078/0.2356, allocations: 130.4 kB / 0.8533 GB, free: 14.54 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.782e-05/0.2357, allocations: 13.88 kB / 0.8533 GB, free: 14.52 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007336/0.2364, allocations: 174.3 kB / 0.8535 GB, free: 14.35 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.2364, allocations: 4 kB / 0.8535 GB, free: 14.34 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.2364, allocations: 0.5625 kB / 0.8535 GB, free: 14.34 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.2364, allocations: 4 kB / 0.8535 GB, free: 14.34 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002987/0.2367, allocations: 147.8 kB / 0.8536 GB, free: 14.17 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2367, allocations: 0 / 0.8536 GB, free: 14.17 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002572/0.237, allocations: 35.91 kB / 0.8536 GB, free: 14.13 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.237, allocations: 0 / 0.8536 GB, free: 14.13 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.237, allocations: 0 / 0.8536 GB, free: 14.13 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.237, allocations: 0 / 0.8536 GB, free: 14.13 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/0.237, allocations: 4.5 kB / 0.8536 GB, free: 14.13 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.238, allocations: 257.2 kB / 0.8539 GB, free: 13.86 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.621e-05/0.2381, allocations: 17.88 kB / 0.8539 GB, free: 13.85 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.202e-05/0.2381, allocations: 0 / 0.8539 GB, free: 13.85 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.2383, allocations: 15.98 kB / 0.8539 GB, free: 13.83 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.837e-05/0.2384, allocations: 11.97 kB / 0.8539 GB, free: 13.82 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/0.2385, allocations: 8.719 kB / 0.8539 GB, free: 13.81 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001996/0.2387, allocations: 119.2 kB / 0.8541 GB, free: 13.7 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2387, allocations: 1.938 kB / 0.8541 GB, free: 13.7 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0004263/0.2391, allocations: 32 kB / 0.8541 GB, free: 13.66 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.000208/0.2393, allocations: 101.9 kB / 0.8542 GB, free: 13.56 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0007704/0.2401, allocations: 213.6 kB / 0.8544 GB, free: 13.33 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2401, allocations: 0.5938 kB / 0.8544 GB, free: 13.33 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002905/0.2404, allocations: 60.45 kB / 0.8544 GB, free: 13.27 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005223/0.2409, allocations: 56.64 kB / 0.8545 GB, free: 13.22 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.242, allocations: 331.2 kB / 0.8548 GB, free: 12.88 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001475/0.2422, allocations: 99.27 kB / 0.8549 GB, free: 12.76 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001641/0.2423, allocations: 24.08 kB / 0.8549 GB, free: 12.74 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.943e-05/0.2424, allocations: 19.42 kB / 0.8549 GB, free: 12.72 MB / 490.8 MB Notification: Performance of SimCode: time 1.082e-06/0.2424, allocations: 0.625 kB / 0.855 GB, free: 12.72 MB / 490.8 MB Notification: Performance of Templates: time 0.2873/0.5298, allocations: 2.628 MB / 0.8575 GB, free: 28.16 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012v2_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012v2_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012v2_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012v2_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012v2_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012v2_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012v2_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.602440282003954]