Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2012_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.001085/0.001085, allocations: 92.5 kB / 19.94 MB, free: 4.605 MB / 18.57 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.0009884/0.0009884, allocations: 165.8 kB / 23.21 MB, free: 1.34 MB / 18.57 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 0.9342/0.9342, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6435/0.6435, allocations: 291.1 MB / 0.5382 GB, free: 51.79 MB / 410.7 MB " [Timeout remaining time 179] 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_Kretschmann2012_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2012_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2012_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2012_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.6973 GB, free: 10.23 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.65e-05/1.774e-05, allocations: 6.281 kB / 0.6973 GB, free: 10.22 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2012_reference): time 0.001648/0.001666, allocations: 1.81 MB / 0.6991 GB, free: 8.395 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006024/0.002268, allocations: 0.5497 MB / 0.6996 GB, free: 7.84 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.82e-05/0.002317, allocations: 0 / 0.6996 GB, free: 7.84 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.232e-05/0.002409, allocations: 11.86 kB / 0.6996 GB, free: 7.828 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002854/0.002694, allocations: 75.47 kB / 0.6997 GB, free: 7.754 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001082/0.002803, allocations: 66.52 kB / 0.6998 GB, free: 7.691 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.002952, allocations: 167.3 kB / 0.6999 GB, free: 7.527 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.232e-05/0.002994, allocations: 5.312 kB / 0.6999 GB, free: 7.523 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.87e-05/0.003093, allocations: 91.77 kB / 0.7 GB, free: 7.434 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.00328, allocations: 79.77 kB / 0.7001 GB, free: 7.355 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.003301, allocations: 12 kB / 0.7001 GB, free: 7.344 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.645e-05/0.003317, allocations: 4 kB / 0.7001 GB, free: 7.34 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.007e-05/0.003378, allocations: 35.89 kB / 0.7002 GB, free: 7.305 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.912e-05/0.003427, allocations: 39.86 kB / 0.7002 GB, free: 7.266 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.003539, allocations: 103.7 kB / 0.7003 GB, free: 7.164 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.704e-06/0.00354, allocations: 4 kB / 0.7003 GB, free: 7.16 MB / 410.8 MB Notification: Performance of FrontEnd: time 7.02e-07/0.003541, allocations: 0 / 0.7003 GB, free: 7.16 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.003545, allocations: 0 / 0.7003 GB, free: 7.16 MB / 410.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.0004942/0.00404, allocations: 391.5 kB / 0.7007 GB, free: 6.742 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.931e-05/0.004069, allocations: 15.83 kB / 0.7007 GB, free: 6.727 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.004106, allocations: 16.84 kB / 0.7007 GB, free: 6.711 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.004227, allocations: 146.2 kB / 0.7008 GB, free: 6.543 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.004239, allocations: 8.375 kB / 0.7008 GB, free: 6.535 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.004261, allocations: 4.375 kB / 0.7009 GB, free: 6.531 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.004418, allocations: 102.2 kB / 0.701 GB, free: 6.426 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.004426, allocations: 3.938 kB / 0.701 GB, free: 6.422 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.004436, allocations: 0 / 0.701 GB, free: 6.422 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.00444, allocations: 4 kB / 0.701 GB, free: 6.418 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.004577, allocations: 79.86 kB / 0.701 GB, free: 6.34 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002991/0.004876, allocations: 288.4 kB / 0.7013 GB, free: 6.027 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.005075, allocations: 130.4 kB / 0.7014 GB, free: 5.891 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.34e-05/0.005148, allocations: 56.81 kB / 0.7015 GB, free: 5.832 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.005161, allocations: 224 / 0.7015 GB, free: 5.832 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001518/0.005313, allocations: 119.2 kB / 0.7016 GB, free: 5.703 MB / 410.8 MB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.005314, allocations: 3.938 kB / 0.7016 GB, free: 5.699 MB / 410.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003059/0.00562, allocations: 197.6 kB / 0.7018 GB, free: 5.5 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.035e-05/0.00564, allocations: 55.41 kB / 0.7018 GB, free: 5.434 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.19e-05/0.005722, allocations: 157 kB / 0.702 GB, free: 5.273 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.005734, allocations: 29.7 kB / 0.702 GB, free: 5.238 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.458e-05/0.005768, allocations: 104.1 kB / 0.7021 GB, free: 5.133 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.005788, allocations: 47.64 kB / 0.7022 GB, free: 5.086 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/0.005826, allocations: 41.69 kB / 0.7022 GB, free: 5.039 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.395e-05/0.00586, allocations: 322.8 kB / 0.7025 GB, free: 4.715 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.118e-05/0.005951, allocations: 85.59 kB / 0.7026 GB, free: 4.625 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.006059, allocations: 200 kB / 0.7028 GB, free: 4.395 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.006208, allocations: 138.5 kB / 0.7029 GB, free: 4.25 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.006211, allocations: 7.938 kB / 0.7029 GB, free: 4.242 MB / 410.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002155/0.006426, allocations: 247.2 kB / 0.7032 GB, free: 3.984 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.006444, allocations: 33.7 kB / 0.7032 GB, free: 3.945 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.006448, allocations: 0 / 0.7032 GB, free: 3.945 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.00646, allocations: 0 / 0.7032 GB, free: 3.945 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.87e-05/0.006548, allocations: 31.92 kB / 0.7032 GB, free: 3.914 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.006553, allocations: 0 / 0.7032 GB, free: 3.914 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.46e-05/0.006628, allocations: 19.92 kB / 0.7032 GB, free: 3.895 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.006638, allocations: 7.984 kB / 0.7033 GB, free: 3.887 MB / 410.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 5.111e-05/0.006689, allocations: 130.4 kB / 0.7034 GB, free: 3.75 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.153e-05/0.0067, allocations: 15.91 kB / 0.7034 GB, free: 3.734 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002033/0.006904, allocations: 173.9 kB / 0.7036 GB, free: 3.566 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.006905, allocations: 0 / 0.7036 GB, free: 3.566 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.006909, allocations: 0 / 0.7036 GB, free: 3.566 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.006912, allocations: 0 / 0.7036 GB, free: 3.566 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.095e-05/0.006983, allocations: 157.2 kB / 0.7037 GB, free: 3.383 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.006984, allocations: 3.938 kB / 0.7037 GB, free: 3.379 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.467e-05/0.007058, allocations: 27.98 kB / 0.7037 GB, free: 3.352 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.00706, allocations: 0 / 0.7037 GB, free: 3.352 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/0.00707, allocations: 8 kB / 0.7037 GB, free: 3.344 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.007071, allocations: 0 / 0.7037 GB, free: 3.344 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.007071, allocations: 0 / 0.7037 GB, free: 3.344 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000287/0.007358, allocations: 256.8 kB / 0.704 GB, free: 3.074 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.502e-05/0.007373, allocations: 15.88 kB / 0.704 GB, free: 3.059 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.007391, allocations: 4 kB / 0.704 GB, free: 3.055 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.263e-05/0.007443, allocations: 16.05 kB / 0.704 GB, free: 3.039 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.007488, allocations: 15.97 kB / 0.704 GB, free: 3.023 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.007494, allocations: 4 kB / 0.704 GB, free: 3.02 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.171e-05/0.007536, allocations: 131 kB / 0.7042 GB, free: 2.891 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.007536, allocations: 0 / 0.7042 GB, free: 2.891 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001286/0.007665, allocations: 32 kB / 0.7042 GB, free: 2.859 MB / 410.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 5.795e-05/0.007723, allocations: 99.25 kB / 0.7043 GB, free: 2.75 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002168/0.007939, allocations: 216.9 kB / 0.7045 GB, free: 2.52 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.007941, allocations: 0 / 0.7045 GB, free: 2.52 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.057e-05/0.008021, allocations: 63.89 kB / 0.7046 GB, free: 2.457 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00018/0.008201, allocations: 40.7 kB / 0.7046 GB, free: 2.418 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004025/0.008604, allocations: 335.2 kB / 0.7049 GB, free: 2.059 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.749e-05/0.008641, allocations: 97.8 kB / 0.705 GB, free: 1.945 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.363e-05/0.008685, allocations: 16.5 kB / 0.705 GB, free: 1.926 MB / 410.8 MB Notification: Performance of SimCode: time 4.31e-07/0.008685, allocations: 0 / 0.705 GB, free: 1.926 MB / 410.8 MB Notification: Performance of Templates: time 0.002121/0.01081, allocations: 2.062 MB / 0.707 GB, free: 15.88 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2012_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2012_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2012_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2012_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2012_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2012_reference > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Diazoxon.Diazoxon_Kretschmann2012_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.321167946793139]