Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.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.001596/0.001596, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001887/0.001887, allocations: 212.1 kB / 22.24 MB, free: 5.262 MB / 14.72 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.608/1.608, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.278/1.278, allocations: 203.8 MB / 0.5041 GB, free: 4.566 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") [Timeout 660] "Notification: IDEAS 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.002109/0.002109, allocations: 71.86 kB / 0.7186 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7139/0.716, allocations: 102 MB / 0.8182 GB, free: 28.86 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.003905/0.7199, allocations: 1.992 MB / 0.8202 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.7211, allocations: 0.5701 MB / 0.8207 GB, free: 27.15 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.7212, allocations: 3.75 kB / 0.8207 GB, free: 27.15 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001371/0.7214, allocations: 22.64 kB / 0.8208 GB, free: 27.14 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.7215, allocations: 43.81 kB / 0.8208 GB, free: 27.11 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.000301/0.7218, allocations: 66.91 kB / 0.8209 GB, free: 27.07 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002726/0.7221, allocations: 187.2 kB / 0.821 GB, free: 26.98 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002139/0.7223, allocations: 54.75 kB / 0.8211 GB, free: 26.95 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002224/0.7225, allocations: 80.89 kB / 0.8212 GB, free: 26.91 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.7226, allocations: 71.25 kB / 0.8212 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.772e-05/0.7227, allocations: 15.53 kB / 0.8213 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 8.02e-05/0.7228, allocations: 21.06 kB / 0.8213 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 3.702e-05/0.7228, allocations: 30.61 kB / 0.8213 GB, free: 26.86 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 8.525e-05/0.7229, allocations: 67.75 kB / 0.8214 GB, free: 26.82 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003218/0.7232, allocations: 184.8 kB / 0.8215 GB, free: 26.75 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.7232, allocations: 0.5 kB / 0.8215 GB, free: 26.75 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.575e-06/0.7232, allocations: 2.547 kB / 0.8215 GB, free: 26.75 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.7232, allocations: 0.6562 kB / 0.8215 GB, free: 26.75 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008895/0.7241, allocations: 424.1 kB / 0.822 GB, free: 26.41 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.7242, allocations: 15.09 kB / 0.822 GB, free: 26.4 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001893/0.7243, allocations: 32.11 kB / 0.822 GB, free: 26.39 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.7246, allocations: 161.8 kB / 0.8222 GB, free: 26.23 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.293e-05/0.7247, allocations: 64.77 kB / 0.8222 GB, free: 26.17 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.805e-05/0.7248, allocations: 13 kB / 0.8222 GB, free: 26.16 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004398/0.7252, allocations: 164.8 kB / 0.8224 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.7252, allocations: 0 / 0.8224 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/0.7252, allocations: 5.312 kB / 0.8224 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.7252, allocations: 3 kB / 0.8224 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005087/0.7258, allocations: 147.9 kB / 0.8225 GB, free: 26.05 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007111/0.7265, allocations: 384.2 kB / 0.8229 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004651/0.7269, allocations: 127.7 kB / 0.823 GB, free: 25.72 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.7272, allocations: 83.72 kB / 0.8231 GB, free: 25.69 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.7272, allocations: 1.75 kB / 0.8231 GB, free: 25.69 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.7272, allocations: 37.62 kB / 0.8231 GB, free: 25.64 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.7272, allocations: 0 / 0.8231 GB, free: 25.64 MB / 0.6387 GB Notification: Performance of matching and sorting (n=12): time 0.0007439/0.7279, allocations: 228.2 kB / 0.8234 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.728, allocations: 53.47 kB / 0.8234 GB, free: 25.5 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.7281, allocations: 156.5 kB / 0.8236 GB, free: 25.38 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.7281, allocations: 27.8 kB / 0.8236 GB, free: 25.35 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.428e-05/0.7282, allocations: 134.2 kB / 0.8237 GB, free: 25.23 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.61e-05/0.7282, allocations: 48.39 kB / 0.8238 GB, free: 25.19 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.258e-05/0.7283, allocations: 29.91 kB / 0.8238 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.285e-05/0.7283, allocations: 325.8 kB / 0.8241 GB, free: 24.85 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/0.7285, allocations: 59.27 kB / 0.8242 GB, free: 24.84 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002371/0.7288, allocations: 83.28 kB / 0.8242 GB, free: 24.8 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003989/0.7292, allocations: 139.6 kB / 0.8244 GB, free: 24.74 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.7292, allocations: 1.438 kB / 0.8244 GB, free: 24.74 MB / 0.6387 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004843/0.7297, allocations: 197.7 kB / 0.8246 GB, free: 24.66 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.7297, allocations: 5.859 kB / 0.8246 GB, free: 24.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.7297, allocations: 1.219 kB / 0.8246 GB, free: 24.66 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.7297, allocations: 1.281 kB / 0.8246 GB, free: 24.66 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.7299, allocations: 40.47 kB / 0.8246 GB, free: 24.65 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.7299, allocations: 1.562 kB / 0.8246 GB, free: 24.65 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.7301, allocations: 30.16 kB / 0.8246 GB, free: 24.64 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.7301, allocations: 9.422 kB / 0.8246 GB, free: 24.64 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (con.y_boolean,$PRE.con.y_boolean) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * 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 8.444e-05/0.7302, allocations: 130.3 kB / 0.8248 GB, free: 24.51 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-05/0.7302, allocations: 17.97 kB / 0.8248 GB, free: 24.5 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.472e-05/0.7303, allocations: 17.92 kB / 0.8248 GB, free: 24.48 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.7303, allocations: 2.094 kB / 0.8248 GB, free: 24.48 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.443e-06/0.7303, allocations: 0 / 0.8248 GB, free: 24.48 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.7303, allocations: 0.7031 kB / 0.8248 GB, free: 24.48 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.7305, allocations: 162.9 kB / 0.825 GB, free: 24.33 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.7305, allocations: 6.094 kB / 0.825 GB, free: 24.33 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001991/0.7307, allocations: 39.11 kB / 0.825 GB, free: 24.32 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.7307, allocations: 2.016 kB / 0.825 GB, free: 24.32 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.7307, allocations: 2.375 kB / 0.825 GB, free: 24.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.7307, allocations: 0 / 0.825 GB, free: 24.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7307, allocations: 0 / 0.825 GB, free: 24.32 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007391/0.7314, allocations: 343 kB / 0.8253 GB, free: 24.12 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 2.85e-05/0.7315, allocations: 20.95 kB / 0.8253 GB, free: 24.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.7315, allocations: 2.062 kB / 0.8254 GB, free: 24.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.7316, allocations: 20.5 kB / 0.8254 GB, free: 24.11 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.37e-05/0.7317, allocations: 15.64 kB / 0.8254 GB, free: 24.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.7317, allocations: 3.609 kB / 0.8254 GB, free: 24.1 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 7.779e-05/0.7318, allocations: 119.7 kB / 0.8255 GB, free: 24.01 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6e-08/0.7318, allocations: 4.062 kB / 0.8255 GB, free: 24.01 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002823/0.7321, allocations: 40.08 kB / 0.8255 GB, free: 24 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (cap.T) * Number of discrete variables: 1 (con.y_boolean) * Number of discrete states: 1 (con.y_boolean) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001049/0.7322, allocations: 96.83 kB / 0.8256 GB, free: 23.91 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005468/0.7327, allocations: 140 kB / 0.8258 GB, free: 23.88 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.7327, allocations: 128 / 0.8258 GB, free: 23.88 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002373/0.733, allocations: 76.12 kB / 0.8258 GB, free: 23.86 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.7333, allocations: 20.56 kB / 0.8259 GB, free: 23.85 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008242/0.7341, allocations: 396.8 kB / 0.8262 GB, free: 23.58 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.7342, allocations: 115.4 kB / 0.8264 GB, free: 23.49 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 7.219e-05/0.7343, allocations: 8.797 kB / 0.8264 GB, free: 23.49 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.911e-05/0.7344, allocations: 14.97 kB / 0.8264 GB, free: 23.48 MB / 0.6387 GB Notification: Performance of SimCode: time 2.71e-07/0.7344, allocations: 0 / 0.8264 GB, free: 23.48 MB / 0.6387 GB Notification: Performance of Templates: time 0.005859/0.7402, allocations: 1.79 MB / 0.8281 GB, free: 23.29 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.sim & ./IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.21637262776494] Failed to read output from testmodel.py, exit status != 0: 0.7493129372596741 0.761577297 0.035547204 Calling exit ...