Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon.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.001912/0.001912, 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.002077/0.002077, 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.654/1.654, allocations: 230.6 MB / 256 MB, free: 9.602 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.409/1.409, allocations: 316.7 MB / 0.6144 GB, free: 93.03 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.Diazoxon.Diazoxon,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon") [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.005981/0.005981, allocations: 84.92 kB / 0.775 GB, free: 14.7 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.2013, allocations: 73.99 MB / 0.8473 GB, free: 4.852 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon): time 0.005264/0.2066, allocations: 1.82 MB / 0.8491 GB, free: 3.031 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001664/0.2083, allocations: 0.5459 MB / 0.8496 GB, free: 2.484 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.281e-05/0.2083, allocations: 0.5 kB / 0.8496 GB, free: 2.484 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.2085, allocations: 15.86 kB / 0.8496 GB, free: 2.469 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.00043/0.2089, allocations: 60.89 kB / 0.8497 GB, free: 2.41 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00031/0.2092, allocations: 77.11 kB / 0.8497 GB, free: 2.34 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003793/0.2096, allocations: 163.3 kB / 0.8499 GB, free: 2.18 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.866e-05/0.2096, allocations: 9.906 kB / 0.8499 GB, free: 2.172 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001947/0.2098, allocations: 72.41 kB / 0.85 GB, free: 2.102 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003655/0.2102, allocations: 79.72 kB / 0.85 GB, free: 2.023 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 4.409e-05/0.2102, allocations: 8.562 kB / 0.8501 GB, free: 2.016 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.279e-05/0.2103, allocations: 4.531 kB / 0.8501 GB, free: 2.012 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.2104, allocations: 35.83 kB / 0.8501 GB, free: 1.977 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.2105, allocations: 52.34 kB / 0.8501 GB, free: 1.926 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.2107, allocations: 96.27 kB / 0.8502 GB, free: 1.832 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2107, allocations: 0 / 0.8502 GB, free: 1.832 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.224e-06/0.2107, allocations: 1.844 kB / 0.8502 GB, free: 1.832 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.2108, allocations: 0 / 0.8502 GB, free: 1.832 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.001171/0.2119, allocations: 388.1 kB / 0.8506 GB, free: 1.418 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.212, allocations: 14.47 kB / 0.8506 GB, free: 1.406 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.555e-05/0.212, allocations: 12.84 kB / 0.8506 GB, free: 1.395 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003458/0.2124, allocations: 150.8 kB / 0.8508 GB, free: 1.223 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.2124, allocations: 8.375 kB / 0.8508 GB, free: 1.215 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.958e-05/0.2125, allocations: 16.06 kB / 0.8508 GB, free: 1.199 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004181/0.2129, allocations: 101.6 kB / 0.8509 GB, free: 1.094 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.2129, allocations: 5.891 kB / 0.8509 GB, free: 1.09 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.2129, allocations: 0 / 0.8509 GB, free: 1.09 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.2129, allocations: 4 kB / 0.8509 GB, free: 1.086 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004714/0.2134, allocations: 81.2 kB / 0.851 GB, free: 1.008 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007652/0.2142, allocations: 280.3 kB / 0.8512 GB, free: 0.7031 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006428/0.2148, allocations: 135 kB / 0.8514 GB, free: 0.5625 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000287/0.2151, allocations: 53.97 kB / 0.8514 GB, free: 0.5078 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/0.2151, allocations: 4 kB / 0.8514 GB, free: 0.5039 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006415/0.2158, allocations: 115.9 kB / 0.8515 GB, free: 388 kB / 474.8 MB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.2158, allocations: 0.625 kB / 0.8515 GB, free: 388 kB / 474.8 MB Notification: Performance of matching and sorting (n=13): time 0.0009593/0.2167, allocations: 206.7 kB / 0.8517 GB, free: 176 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/0.2168, allocations: 51.94 kB / 0.8518 GB, free: 112 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003003/0.2171, allocations: 158.2 kB / 0.8519 GB, free: 15.95 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 4.305e-05/0.2171, allocations: 29.7 kB / 0.852 GB, free: 15.91 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.2172, allocations: 108.6 kB / 0.8521 GB, free: 15.8 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.172e-05/0.2173, allocations: 44.36 kB / 0.8521 GB, free: 15.76 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.2174, allocations: 37.7 kB / 0.8522 GB, free: 15.72 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0002559/0.2177, allocations: 331.4 kB / 0.8525 GB, free: 15.39 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003306/0.218, allocations: 78.28 kB / 0.8525 GB, free: 15.3 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004591/0.2185, allocations: 205.1 kB / 0.8527 GB, free: 15.07 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005617/0.219, allocations: 139.1 kB / 0.8529 GB, free: 14.93 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.219, allocations: 4.562 kB / 0.8529 GB, free: 14.92 MB / 490.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000799/0.2198, allocations: 245.3 kB / 0.8531 GB, free: 14.67 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.775e-05/0.2199, allocations: 33.7 kB / 0.8531 GB, free: 14.63 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.2199, allocations: 0 / 0.8531 GB, free: 14.63 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.2199, allocations: 4 kB / 0.8531 GB, free: 14.62 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002725/0.2202, allocations: 30.38 kB / 0.8532 GB, free: 14.6 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.2202, allocations: 0 / 0.8532 GB, free: 14.6 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002533/0.2205, allocations: 23.81 kB / 0.8532 GB, free: 14.57 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.39e-05/0.2205, allocations: 11.94 kB / 0.8532 GB, free: 14.56 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.0001815/0.2207, allocations: 122.7 kB / 0.8533 GB, free: 14.43 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.279e-05/0.2207, allocations: 11.95 kB / 0.8533 GB, free: 14.42 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006966/0.2214, allocations: 171.4 kB / 0.8535 GB, free: 14.25 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.2214, allocations: 4 kB / 0.8535 GB, free: 14.25 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2214, allocations: 4.875 kB / 0.8535 GB, free: 14.25 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.2214, allocations: 3.984 kB / 0.8535 GB, free: 14.24 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002874/0.2217, allocations: 153.2 kB / 0.8537 GB, free: 14.06 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2217, allocations: 1.156 kB / 0.8537 GB, free: 14.06 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002522/0.222, allocations: 23.98 kB / 0.8537 GB, free: 14.04 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.222, allocations: 0.5 kB / 0.8537 GB, free: 14.04 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.686e-05/0.222, allocations: 7.984 kB / 0.8537 GB, free: 14.03 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.222, allocations: 1.75 kB / 0.8537 GB, free: 14.03 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.222, allocations: 4 kB / 0.8537 GB, free: 14.03 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009758/0.223, allocations: 250.1 kB / 0.8539 GB, free: 13.77 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.18e-05/0.223, allocations: 11.92 kB / 0.8539 GB, free: 13.75 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.677e-05/0.2231, allocations: 7.984 kB / 0.854 GB, free: 13.75 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.2233, allocations: 13.08 kB / 0.854 GB, free: 13.73 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.948e-05/0.2234, allocations: 11.98 kB / 0.854 GB, free: 13.72 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.2234, allocations: 7.984 kB / 0.854 GB, free: 13.71 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001923/0.2236, allocations: 122.6 kB / 0.8541 GB, free: 13.6 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2236, allocations: 0.7188 kB / 0.8541 GB, free: 13.6 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0004144/0.224, 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.000178/0.2242, allocations: 104.6 kB / 0.8542 GB, free: 13.46 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0007468/0.2249, allocations: 213.6 kB / 0.8544 GB, free: 13.23 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2249, allocations: 0.625 kB / 0.8544 GB, free: 13.23 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002986/0.2252, allocations: 64.39 kB / 0.8545 GB, free: 13.17 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005071/0.2257, allocations: 45.55 kB / 0.8545 GB, free: 13.12 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.2269, allocations: 322.8 kB / 0.8549 GB, free: 12.79 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001603/0.227, allocations: 103.5 kB / 0.8549 GB, free: 12.66 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001621/0.2272, allocations: 24.38 kB / 0.855 GB, free: 12.64 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.55e-05/0.2273, allocations: 20 kB / 0.855 GB, free: 12.62 MB / 490.8 MB Notification: Performance of SimCode: time 6.32e-07/0.2273, allocations: 0 / 0.855 GB, free: 12.62 MB / 490.8 MB Notification: Performance of Templates: time 0.3073/0.5345, allocations: 2.629 MB / 0.8576 GB, free: 28.2 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.36702939402312]