Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.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.001324/0.001324, 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.001449/0.001449, allocations: 212.8 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.531/1.531, allocations: 230.6 MB / 256 MB, free: 7.789 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.318/1.318, allocations: 203.8 MB / 0.5041 GB, free: 4.586 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.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis") [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.002117/0.002117, allocations: 67.88 kB / 0.7187 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6316/0.6337, allocations: 102 MB / 0.8183 GB, free: 28.91 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002675/0.6364, allocations: 0.8024 MB / 0.8191 GB, free: 28.43 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001388/0.6378, allocations: 0.9219 MB / 0.82 GB, free: 27.75 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.652e-05/0.6379, allocations: 0.6875 kB / 0.82 GB, free: 27.75 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 4.397e-05/0.6379, allocations: 9.812 kB / 0.82 GB, free: 27.74 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.638, allocations: 25.83 kB / 0.82 GB, free: 27.72 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002817/0.6383, allocations: 43.91 kB / 0.8201 GB, free: 27.7 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.6385, allocations: 113.7 kB / 0.8202 GB, free: 27.64 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.6386, allocations: 24.08 kB / 0.8202 GB, free: 27.63 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002238/0.6389, allocations: 58.39 kB / 0.8203 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.639, allocations: 55.72 kB / 0.8203 GB, free: 27.58 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.744e-05/0.639, allocations: 9.969 kB / 0.8203 GB, free: 27.58 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 7.437e-05/0.6391, allocations: 12.5 kB / 0.8203 GB, free: 27.58 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 3.647e-05/0.6391, allocations: 23.56 kB / 0.8204 GB, free: 27.57 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 6.738e-05/0.6392, allocations: 44.14 kB / 0.8204 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002438/0.6395, allocations: 119.1 kB / 0.8205 GB, free: 27.5 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.6395, allocations: 1.219 kB / 0.8205 GB, free: 27.5 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.244e-06/0.6395, allocations: 3.938 kB / 0.8205 GB, free: 27.5 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.847e-06/0.6395, allocations: 1.219 kB / 0.8205 GB, free: 27.5 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007775/0.6402, allocations: 369.8 kB / 0.8209 GB, free: 27.18 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.6403, allocations: 11.05 kB / 0.8209 GB, free: 27.18 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003229/0.6406, allocations: 37.17 kB / 0.8209 GB, free: 27.17 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004972/0.6411, allocations: 196.7 kB / 0.8211 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.6412, allocations: 9.969 kB / 0.8211 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.6412, allocations: 5.219 kB / 0.8211 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003244/0.6415, allocations: 119.4 kB / 0.8212 GB, free: 26.94 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.6415, allocations: 4.75 kB / 0.8212 GB, free: 26.94 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.6415, allocations: 4.688 kB / 0.8212 GB, free: 26.93 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.6415, allocations: 5.906 kB / 0.8212 GB, free: 26.93 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003214/0.6419, allocations: 74.72 kB / 0.8213 GB, free: 26.92 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005681/0.6424, allocations: 442.2 kB / 0.8217 GB, free: 26.51 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002925/0.6427, allocations: 108 kB / 0.8218 GB, free: 26.43 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.6429, allocations: 54.06 kB / 0.8219 GB, free: 26.39 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.281e-05/0.6429, allocations: 2.281 kB / 0.8219 GB, free: 26.39 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.643, allocations: 38 kB / 0.8219 GB, free: 26.35 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.643, allocations: 0.7812 kB / 0.8219 GB, free: 26.35 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8): time 0.0006714/0.6436, allocations: 163 kB / 0.8221 GB, free: 26.29 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.6437, allocations: 104.2 kB / 0.8222 GB, free: 26.17 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.6438, allocations: 142.2 kB / 0.8223 GB, free: 26.06 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.6438, allocations: 32.91 kB / 0.8224 GB, free: 26.02 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.34e-05/0.6439, allocations: 109 kB / 0.8225 GB, free: 25.92 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.405e-05/0.6439, allocations: 25.7 kB / 0.8225 GB, free: 25.9 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.183e-05/0.6439, allocations: 29.42 kB / 0.8225 GB, free: 25.88 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.899e-05/0.644, allocations: 329.1 kB / 0.8228 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.6442, allocations: 41.27 kB / 0.8229 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001944/0.6444, allocations: 166.7 kB / 0.823 GB, free: 25.39 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/0.6446, allocations: 97.72 kB / 0.8231 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.6446, allocations: 3.938 kB / 0.8231 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00035/0.645, allocations: 140.6 kB / 0.8233 GB, free: 25.28 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.645, allocations: 5.719 kB / 0.8233 GB, free: 25.28 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.645, allocations: 0 / 0.8233 GB, free: 25.28 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.645, allocations: 2.406 kB / 0.8233 GB, free: 25.28 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.6452, allocations: 21.75 kB / 0.8233 GB, free: 25.28 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.6452, allocations: 2.641 kB / 0.8233 GB, free: 25.28 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.6453, allocations: 19.55 kB / 0.8233 GB, free: 25.27 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.6453, allocations: 3.859 kB / 0.8233 GB, free: 25.27 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: 6 (hysteresis.y,$PRE.hysteresis.y,hysteresis1.y,$PRE.hysteresis1.y,hysteresis2.y,$PRE.hysteresis2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.397e-05/0.6454, allocations: 133.5 kB / 0.8234 GB, free: 25.14 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.561e-05/0.6455, allocations: 14 kB / 0.8234 GB, free: 25.13 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002642/0.6457, allocations: 89.42 kB / 0.8235 GB, free: 25.08 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.6457, allocations: 1.312 kB / 0.8235 GB, free: 25.08 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.6458, allocations: 1.469 kB / 0.8235 GB, free: 25.08 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.6458, allocations: 0.5625 kB / 0.8235 GB, free: 25.08 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.646, allocations: 136.8 kB / 0.8237 GB, free: 24.94 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.646, allocations: 1.594 kB / 0.8237 GB, free: 24.94 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.6461, allocations: 25.84 kB / 0.8237 GB, free: 24.93 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.6461, allocations: 1.25 kB / 0.8237 GB, free: 24.93 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.6461, allocations: 6.734 kB / 0.8237 GB, free: 24.93 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.6461, allocations: 1.312 kB / 0.8237 GB, free: 24.93 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.6461, allocations: 2.172 kB / 0.8237 GB, free: 24.93 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003818/0.6465, allocations: 378.6 kB / 0.8241 GB, free: 24.62 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.824e-05/0.6465, allocations: 15.44 kB / 0.8241 GB, free: 24.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.6466, allocations: 3.766 kB / 0.8241 GB, free: 24.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.6468, allocations: 17.3 kB / 0.8241 GB, free: 24.6 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.759e-05/0.6468, allocations: 24.05 kB / 0.8241 GB, free: 24.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.6469, allocations: 4.328 kB / 0.8241 GB, free: 24.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 6.236e-05/0.6469, allocations: 111 kB / 0.8242 GB, free: 24.52 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.6469, allocations: 0 / 0.8242 GB, free: 24.52 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003188/0.6472, allocations: 18.88 kB / 0.8242 GB, free: 24.51 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (hysteresis.y,hysteresis1.y,hysteresis2.y) * Number of discrete states: 3 (hysteresis2.y,hysteresis1.y,hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001225/0.6474, allocations: 103.3 kB / 0.8243 GB, free: 24.42 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003943/0.6478, allocations: 95.39 kB / 0.8244 GB, free: 24.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.6478, allocations: 5.094 kB / 0.8244 GB, free: 24.39 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001714/0.6479, allocations: 50.55 kB / 0.8245 GB, free: 24.38 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004845/0.6484, allocations: 20.28 kB / 0.8245 GB, free: 24.37 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004128/0.6488, allocations: 210.6 kB / 0.8247 GB, free: 24.19 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.289e-05/0.6489, allocations: 88.52 kB / 0.8248 GB, free: 24.11 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 8.632e-05/0.649, allocations: 24.66 kB / 0.8248 GB, free: 24.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.941e-05/0.6491, allocations: 21.78 kB / 0.8248 GB, free: 24.09 MB / 0.6387 GB Notification: Performance of SimCode: time 2.7e-07/0.6491, allocations: 3.938 kB / 0.8248 GB, free: 24.09 MB / 0.6387 GB Notification: Performance of Templates: time 0.005364/0.6544, allocations: 1.47 MB / 0.8263 GB, free: 23.95 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.922202877700329] Failed to read output from testmodel.py, exit status != 0: 0.6629423499107361 0.6765416 0.034115228000000004 Calling exit ...