Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012_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.002671/0.002671, 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.003076/0.003076, allocations: 215.6 kB / 22.25 MB, free: 3.578 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.757/1.757, allocations: 230.6 MB / 256 MB, free: 9.645 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.5/1.5, allocations: 316.7 MB / 0.6144 GB, free: 93.06 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_Maucher2012_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012_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.004115/0.004115, allocations: 77.48 kB / 0.775 GB, free: 14.71 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.203, allocations: 73.98 MB / 0.8472 GB, free: 4.863 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012_reference): time 0.003692/0.2067, allocations: 1.824 MB / 0.849 GB, free: 3.039 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.2079, allocations: 0.5455 MB / 0.8495 GB, free: 2.492 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.62e-05/0.208, allocations: 0.5 kB / 0.8495 GB, free: 2.492 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.2081, allocations: 12.36 kB / 0.8495 GB, free: 2.48 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000376/0.2085, allocations: 60.83 kB / 0.8496 GB, free: 2.422 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/0.2087, allocations: 70.14 kB / 0.8497 GB, free: 2.355 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002886/0.209, allocations: 163.3 kB / 0.8498 GB, free: 2.195 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.783e-05/0.2091, allocations: 5.938 kB / 0.8498 GB, free: 2.191 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.2092, allocations: 68.42 kB / 0.8499 GB, free: 2.125 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002935/0.2095, allocations: 87.64 kB / 0.85 GB, free: 2.039 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.246e-05/0.2095, allocations: 4.531 kB / 0.85 GB, free: 2.035 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.026e-05/0.2095, allocations: 8.625 kB / 0.85 GB, free: 2.027 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 8.974e-05/0.2096, allocations: 39.83 kB / 0.85 GB, free: 1.988 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.733e-05/0.2097, allocations: 44.42 kB / 0.8501 GB, free: 1.945 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.2099, allocations: 104.2 kB / 0.8502 GB, free: 1.844 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2099, allocations: 0 / 0.8502 GB, free: 1.844 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.704e-06/0.2099, allocations: 0.8125 kB / 0.8502 GB, free: 1.844 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.2099, allocations: 0 / 0.8502 GB, free: 1.844 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.0009018/0.2108, allocations: 388.8 kB / 0.8505 GB, free: 1.43 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.2109, allocations: 16.98 kB / 0.8506 GB, free: 1.414 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.029e-05/0.2109, allocations: 12.84 kB / 0.8506 GB, free: 1.402 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.2112, allocations: 152.5 kB / 0.8507 GB, free: 1.23 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.2112, allocations: 4.375 kB / 0.8507 GB, free: 1.227 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.934e-05/0.2113, allocations: 16.12 kB / 0.8507 GB, free: 1.211 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002901/0.2115, allocations: 101.4 kB / 0.8508 GB, free: 1.109 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.2116, allocations: 0.8125 kB / 0.8508 GB, free: 1.109 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.2116, allocations: 4 kB / 0.8508 GB, free: 1.105 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.2116, allocations: 6.5 kB / 0.8508 GB, free: 1.102 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002998/0.2119, allocations: 79.86 kB / 0.8509 GB, free: 1.023 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005627/0.2124, allocations: 280.3 kB / 0.8512 GB, free: 0.7188 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004538/0.2129, allocations: 144.2 kB / 0.8513 GB, free: 0.5703 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.2131, allocations: 48.81 kB / 0.8514 GB, free: 0.5195 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.2131, allocations: 7.984 kB / 0.8514 GB, free: 0.5117 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000313/0.2134, allocations: 116.6 kB / 0.8515 GB, free: 396 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.472e-06/0.2134, allocations: 0 / 0.8515 GB, free: 396 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006563/0.2141, allocations: 199.5 kB / 0.8517 GB, free: 192 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002302/0.2143, allocations: 55.41 kB / 0.8517 GB, free: 124 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.2145, allocations: 157.6 kB / 0.8519 GB, free: 15.96 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.258e-05/0.2145, allocations: 29.7 kB / 0.8519 GB, free: 15.92 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.228e-05/0.2146, allocations: 104.6 kB / 0.852 GB, free: 15.82 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.836e-05/0.2147, allocations: 44.3 kB / 0.8521 GB, free: 15.77 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.094e-05/0.2148, allocations: 45.69 kB / 0.8521 GB, free: 15.72 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.2149, allocations: 323.3 kB / 0.8524 GB, free: 15.4 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.2152, allocations: 82.25 kB / 0.8525 GB, free: 15.31 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003064/0.2155, allocations: 205.1 kB / 0.8527 GB, free: 15.08 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003571/0.2158, allocations: 146.3 kB / 0.8528 GB, free: 14.93 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2158, allocations: 0.625 kB / 0.8528 GB, free: 14.93 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004993/0.2163, allocations: 241.4 kB / 0.8531 GB, free: 14.68 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.425e-05/0.2164, allocations: 30.33 kB / 0.8531 GB, free: 14.64 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.2164, allocations: 0 / 0.8531 GB, free: 14.64 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.2164, allocations: 4.562 kB / 0.8531 GB, free: 14.64 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.2166, allocations: 24.55 kB / 0.8531 GB, free: 14.61 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.2166, allocations: 0.6875 kB / 0.8531 GB, free: 14.61 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.2168, allocations: 28.48 kB / 0.8531 GB, free: 14.59 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.2168, allocations: 7.938 kB / 0.8531 GB, free: 14.58 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.0001358/0.2169, allocations: 122.5 kB / 0.8533 GB, free: 14.45 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/0.2169, allocations: 8.547 kB / 0.8533 GB, free: 14.44 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004783/0.2174, allocations: 175.1 kB / 0.8534 GB, free: 14.27 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.2174, allocations: 4.719 kB / 0.8534 GB, free: 14.26 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.83e-06/0.2174, allocations: 4.562 kB / 0.8534 GB, free: 14.26 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.2174, allocations: 4 kB / 0.8535 GB, free: 14.25 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/0.2176, allocations: 153.6 kB / 0.8536 GB, free: 14.08 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.2176, allocations: 0.8125 kB / 0.8536 GB, free: 14.08 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.2178, allocations: 23.98 kB / 0.8536 GB, free: 14.05 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2178, allocations: 4.531 kB / 0.8536 GB, free: 14.05 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.2178, allocations: 4.531 kB / 0.8536 GB, free: 14.05 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2178, allocations: 0 / 0.8536 GB, free: 14.05 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.2178, allocations: 4.562 kB / 0.8536 GB, free: 14.04 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006355/0.2185, allocations: 261.2 kB / 0.8539 GB, free: 13.77 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.351e-05/0.2185, allocations: 16.42 kB / 0.8539 GB, free: 13.76 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.2185, allocations: 0.7188 kB / 0.8539 GB, free: 13.76 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.2187, allocations: 20.59 kB / 0.8539 GB, free: 13.74 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.956e-05/0.2187, allocations: 7.984 kB / 0.8539 GB, free: 13.73 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.2187, allocations: 9.703 kB / 0.8539 GB, free: 13.72 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001266/0.2189, allocations: 119.2 kB / 0.8541 GB, free: 13.61 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.2189, allocations: 0 / 0.8541 GB, free: 13.61 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002186/0.2191, allocations: 32 kB / 0.8541 GB, free: 13.57 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.0001482/0.2192, allocations: 99.84 kB / 0.8542 GB, free: 13.47 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005128/0.2197, allocations: 218.9 kB / 0.8544 GB, free: 13.24 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2197, allocations: 0 / 0.8544 GB, free: 13.24 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001932/0.2199, allocations: 60.95 kB / 0.8544 GB, free: 13.18 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.2203, allocations: 49.42 kB / 0.8545 GB, free: 13.13 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000802/0.2211, allocations: 327 kB / 0.8548 GB, free: 12.79 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.2212, allocations: 99.84 kB / 0.8549 GB, free: 12.67 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001019/0.2213, allocations: 27.2 kB / 0.8549 GB, free: 12.65 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.455e-05/0.2213, allocations: 19.97 kB / 0.8549 GB, free: 12.63 MB / 490.8 MB Notification: Performance of SimCode: time 5.21e-07/0.2213, allocations: 0 / 0.8549 GB, free: 12.63 MB / 490.8 MB Notification: Performance of Templates: time 0.3124/0.5338, allocations: 2.621 MB / 0.8575 GB, free: 28.2 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.DomoicAcid.DomoicAcid_Maucher2012_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.596722862916067]