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.002003/0.002003, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002533/0.002533, allocations: 216.5 kB / 22.26 MB, free: 5.117 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.606/1.606, allocations: 230.6 MB / 256 MB, free: 8.035 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.322/1.322, allocations: 203.8 MB / 0.5041 GB, free: 4.973 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.002864/0.002864, allocations: 63.91 kB / 0.7188 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7379/0.7408, allocations: 102 MB / 0.8184 GB, free: 29.23 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002185/0.743, allocations: 0.8482 MB / 0.8192 GB, free: 28.7 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001198/0.7442, allocations: 0.923 MB / 0.8201 GB, free: 28 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.94e-05/0.7442, allocations: 1.469 kB / 0.8201 GB, free: 28 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.524e-05/0.7442, allocations: 13.48 kB / 0.8201 GB, free: 27.99 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.7443, allocations: 24 kB / 0.8201 GB, free: 27.97 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.7446, allocations: 47.39 kB / 0.8202 GB, free: 27.95 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.7447, allocations: 116 kB / 0.8203 GB, free: 27.89 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.7449, allocations: 19.7 kB / 0.8203 GB, free: 27.89 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.7451, allocations: 53.14 kB / 0.8204 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.7452, allocations: 60.86 kB / 0.8204 GB, free: 27.83 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.868e-05/0.7452, allocations: 14.11 kB / 0.8204 GB, free: 27.83 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 5.428e-05/0.7453, allocations: 15.22 kB / 0.8205 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.492e-05/0.7453, allocations: 19.25 kB / 0.8205 GB, free: 27.81 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 5.05e-05/0.7453, allocations: 52.94 kB / 0.8205 GB, free: 27.78 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.7456, allocations: 126.8 kB / 0.8206 GB, free: 27.73 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.7456, allocations: 2 kB / 0.8206 GB, free: 27.73 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7456, allocations: 0 / 0.8206 GB, free: 27.73 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.7456, allocations: 1.109 kB / 0.8206 GB, free: 27.73 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.0006614/0.7462, allocations: 368.4 kB / 0.821 GB, free: 27.42 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.7463, allocations: 11.67 kB / 0.821 GB, free: 27.42 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002789/0.7466, allocations: 34.55 kB / 0.821 GB, free: 27.41 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004636/0.747, allocations: 195.2 kB / 0.8212 GB, free: 27.26 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.747, allocations: 7.5 kB / 0.8212 GB, free: 27.25 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.7471, allocations: 6.906 kB / 0.8212 GB, free: 27.25 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002762/0.7473, allocations: 118.1 kB / 0.8214 GB, free: 27.18 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.7474, allocations: 8.531 kB / 0.8214 GB, free: 27.18 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.7474, allocations: 5.781 kB / 0.8214 GB, free: 27.17 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.7474, allocations: 1 kB / 0.8214 GB, free: 27.17 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000282/0.7477, allocations: 74.89 kB / 0.8214 GB, free: 27.16 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005475/0.7482, allocations: 485.1 kB / 0.8219 GB, free: 26.71 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.7485, allocations: 109.9 kB / 0.822 GB, free: 26.63 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.7486, allocations: 56.11 kB / 0.8221 GB, free: 26.59 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.7486, allocations: 2.266 kB / 0.8221 GB, free: 26.59 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.7487, allocations: 34.8 kB / 0.8221 GB, free: 26.55 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=8): time 1.412e-06/0.7487, allocations: 0 / 0.8221 GB, free: 26.55 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8): time 0.0006362/0.7493, allocations: 166.7 kB / 0.8223 GB, free: 26.49 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.7493, allocations: 105.6 kB / 0.8224 GB, free: 26.36 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.7495, allocations: 149 kB / 0.8225 GB, free: 26.25 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.7495, allocations: 29.11 kB / 0.8225 GB, free: 26.22 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.09e-05/0.7496, allocations: 109.6 kB / 0.8226 GB, free: 26.11 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.7496, allocations: 25.94 kB / 0.8227 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.564e-05/0.7496, allocations: 28.58 kB / 0.8227 GB, free: 26.07 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.987e-05/0.7497, allocations: 329.4 kB / 0.823 GB, free: 25.75 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.7498, allocations: 40.19 kB / 0.823 GB, free: 25.74 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.75, allocations: 87.61 kB / 0.8231 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002624/0.7503, allocations: 101.8 kB / 0.8232 GB, free: 25.62 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.7503, allocations: 1.125 kB / 0.8232 GB, free: 25.62 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000332/0.7506, allocations: 137.4 kB / 0.8233 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.7506, allocations: 9.531 kB / 0.8234 GB, free: 25.56 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.7506, allocations: 0 / 0.8234 GB, free: 25.56 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.7506, allocations: 1.406 kB / 0.8234 GB, free: 25.56 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.7508, allocations: 19.5 kB / 0.8234 GB, free: 25.56 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.7508, allocations: 5.547 kB / 0.8234 GB, free: 25.56 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.7509, allocations: 19.41 kB / 0.8234 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.7509, allocations: 3.719 kB / 0.8234 GB, free: 25.55 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 7.464e-05/0.751, allocations: 133 kB / 0.8235 GB, free: 25.42 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.726e-05/0.7511, allocations: 14.19 kB / 0.8235 GB, free: 25.41 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002431/0.7513, allocations: 84.38 kB / 0.8236 GB, free: 25.36 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.7513, allocations: 1.219 kB / 0.8236 GB, free: 25.36 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.7513, allocations: 1.562 kB / 0.8236 GB, free: 25.36 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.7513, allocations: 5.734 kB / 0.8236 GB, free: 25.36 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002673/0.7516, allocations: 174.2 kB / 0.8238 GB, free: 25.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.7516, allocations: 0 / 0.8238 GB, free: 25.18 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.7517, allocations: 27.31 kB / 0.8238 GB, free: 25.18 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.7517, allocations: 1.188 kB / 0.8238 GB, free: 25.18 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.7517, allocations: 6.75 kB / 0.8238 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.7517, allocations: 2.891 kB / 0.8238 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.7517, allocations: 0 / 0.8238 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003575/0.7521, allocations: 377.2 kB / 0.8242 GB, free: 24.86 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.69e-05/0.7521, allocations: 12.59 kB / 0.8242 GB, free: 24.85 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.7521, allocations: 3.422 kB / 0.8242 GB, free: 24.85 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.7523, allocations: 17.61 kB / 0.8242 GB, free: 24.85 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.859e-05/0.7524, allocations: 23.56 kB / 0.8242 GB, free: 24.84 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.7524, allocations: 7.953 kB / 0.8243 GB, free: 24.84 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.921e-05/0.7525, allocations: 111.5 kB / 0.8244 GB, free: 24.75 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.7525, allocations: 0 / 0.8244 GB, free: 24.75 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003216/0.7528, allocations: 22.5 kB / 0.8244 GB, free: 24.75 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.0001046/0.7529, allocations: 97.47 kB / 0.8245 GB, free: 24.66 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003823/0.7533, allocations: 102.2 kB / 0.8246 GB, free: 24.63 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7533, allocations: 0 / 0.8246 GB, free: 24.63 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001666/0.7534, allocations: 51.5 kB / 0.8246 GB, free: 24.62 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004765/0.7539, allocations: 8.922 kB / 0.8246 GB, free: 24.62 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003835/0.7543, allocations: 203.6 kB / 0.8248 GB, free: 24.44 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.7544, allocations: 0.7059 MB / 0.8255 GB, free: 23.73 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 7.561e-05/0.7545, allocations: 24.2 kB / 0.8255 GB, free: 23.72 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.965e-05/0.7546, allocations: 25.73 kB / 0.8256 GB, free: 23.71 MB / 0.6387 GB Notification: Performance of SimCode: time 3.3e-07/0.7546, allocations: 0 / 0.8256 GB, free: 23.71 MB / 0.6387 GB Notification: Performance of Templates: time 0.004698/0.7593, allocations: 1.395 MB / 0.8269 GB, free: 23.59 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: 7.105979008600116] Failed to read output from testmodel.py, exit status != 0: 0.7691129725426435 0.780564581 0.032018936000000005 Calling exit ...