Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.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.0008341/0.0008341, allocations: 115 kB / 19.7 MB, free: 0.5273 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.0008115/0.0008115, allocations: 203.2 kB / 23 MB, free: 3.113 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 0.9373/0.9373, allocations: 230.6 MB / 256.8 MB, free: 3.484 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7231/0.7231, allocations: 203.8 MB / 0.5049 GB, free: 0.7383 MB / 410.7 MB " [Timeout remaining time 179] 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_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") [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.0008507/0.0008507, allocations: 67.89 kB / 0.7194 GB, free: 14.44 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.487/0.4878, allocations: 102 MB / 0.8191 GB, free: 25.26 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.002494/0.4903, allocations: 2.078 MB / 0.8211 GB, free: 23.82 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007676/0.4911, allocations: 0.6074 MB / 0.8217 GB, free: 23.4 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.4912, allocations: 2.594 kB / 0.8217 GB, free: 23.4 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001448/0.4914, allocations: 28.11 kB / 0.8217 GB, free: 23.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.537e-05/0.4914, allocations: 41.02 kB / 0.8217 GB, free: 23.35 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002691/0.4917, allocations: 67.02 kB / 0.8218 GB, free: 23.31 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002484/0.492, allocations: 189.8 kB / 0.822 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001805/0.4921, allocations: 58.81 kB / 0.822 GB, free: 23.19 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000201/0.4923, allocations: 84.27 kB / 0.8221 GB, free: 23.15 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.4925, allocations: 82.55 kB / 0.8222 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.285e-05/0.4925, allocations: 18.44 kB / 0.8222 GB, free: 23.1 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.175e-05/0.4926, allocations: 17.62 kB / 0.8222 GB, free: 23.1 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.185e-05/0.4926, allocations: 35.39 kB / 0.8223 GB, free: 23.08 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 7.172e-05/0.4927, allocations: 87.36 kB / 0.8224 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.4929, allocations: 170 kB / 0.8225 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.4929, allocations: 1.188 kB / 0.8225 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4929, allocations: 1.281 kB / 0.8225 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.4929, allocations: 0 / 0.8225 GB, free: 22.96 MB / 0.6355 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.0006175/0.4935, allocations: 429.9 kB / 0.8229 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.4936, allocations: 10.97 kB / 0.8229 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/0.4937, allocations: 32.84 kB / 0.823 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.4939, allocations: 153.6 kB / 0.8231 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.821e-05/0.494, allocations: 64.23 kB / 0.8232 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.676e-05/0.494, allocations: 14.19 kB / 0.8232 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002932/0.4943, allocations: 162.8 kB / 0.8233 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.4943, allocations: 9.172 kB / 0.8234 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.4943, allocations: 5 kB / 0.8234 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.4943, allocations: 4.312 kB / 0.8234 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00031/0.4946, allocations: 146.6 kB / 0.8235 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006126/0.4953, allocations: 0.4929 MB / 0.824 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003731/0.4956, allocations: 135.6 kB / 0.8241 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.4958, allocations: 76.81 kB / 0.8242 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.4958, allocations: 2.812 kB / 0.8242 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.138e-05/0.4958, allocations: 34.56 kB / 0.8242 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 9.62e-07/0.4958, allocations: 1.656 kB / 0.8242 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12): time 0.0004235/0.4962, allocations: 222.1 kB / 0.8244 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.902e-05/0.4963, allocations: 57.41 kB / 0.8245 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.82e-05/0.4964, allocations: 158.8 kB / 0.8246 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.807e-06/0.4964, allocations: 27.5 kB / 0.8247 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.345e-05/0.4964, allocations: 134.3 kB / 0.8248 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.4964, allocations: 44.55 kB / 0.8248 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-05/0.4965, allocations: 29.48 kB / 0.8249 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.885e-05/0.4965, allocations: 322.1 kB / 0.8252 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.4966, allocations: 63.02 kB / 0.8252 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.4968, allocations: 83.34 kB / 0.8253 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002352/0.497, allocations: 140.6 kB / 0.8255 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.497, allocations: 5.5 kB / 0.8255 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003001/0.4973, allocations: 194 kB / 0.8256 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.4973, allocations: 5.812 kB / 0.8256 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.4973, allocations: 1.312 kB / 0.8256 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.4973, allocations: 2.234 kB / 0.8257 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.4975, allocations: 40 kB / 0.8257 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.4975, allocations: 1.438 kB / 0.8257 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.483e-05/0.4975, allocations: 28.28 kB / 0.8257 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.4975, allocations: 6.938 kB / 0.8257 GB, free: 20.73 MB / 0.6355 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 6.271e-05/0.4976, allocations: 132 kB / 0.8258 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.042e-05/0.4976, allocations: 15.19 kB / 0.8259 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.935e-05/0.4976, allocations: 18.31 kB / 0.8259 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.4976, allocations: 1.375 kB / 0.8259 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.4977, allocations: 0 / 0.8259 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.4977, allocations: 2.656 kB / 0.8259 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.4978, allocations: 205.3 kB / 0.8261 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.4978, allocations: 1.609 kB / 0.8261 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.963e-05/0.4979, allocations: 40.02 kB / 0.8261 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.4979, allocations: 1.625 kB / 0.8261 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.4979, allocations: 2.297 kB / 0.8261 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.4979, allocations: 0 / 0.8261 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4979, allocations: 3.938 kB / 0.8261 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004271/0.4984, allocations: 350.5 kB / 0.8265 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.757e-05/0.4984, allocations: 16.11 kB / 0.8265 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.4984, allocations: 5.969 kB / 0.8265 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.507e-05/0.4985, allocations: 20.55 kB / 0.8265 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/0.4985, allocations: 16.72 kB / 0.8265 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/0.4985, allocations: 5.406 kB / 0.8265 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.781e-05/0.4986, allocations: 117.6 kB / 0.8266 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4986, allocations: 0 / 0.8266 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001649/0.4987, allocations: 36.39 kB / 0.8267 GB, free: 20.05 MB / 0.6355 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 6.781e-05/0.4988, allocations: 99.23 kB / 0.8268 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002941/0.4991, allocations: 143.9 kB / 0.8269 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.4991, allocations: 0 / 0.8269 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.4992, allocations: 76.59 kB / 0.827 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.4995, allocations: 27.72 kB / 0.827 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006585/0.5001, allocations: 416 kB / 0.8274 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001602/0.5003, allocations: 0.7198 MB / 0.8281 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.088e-05/0.5003, allocations: 15.3 kB / 0.8281 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of SimCode: time 6.21e-07/0.5003, allocations: 0 / 0.8281 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of Templates: time 0.003317/0.5037, allocations: 1.838 MB / 0.8299 GB, free: 18.73 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.sim & ./IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.665003388887271] Failed to read output from testmodel.py, exit status != 0: 0.508639340987429 0.517473125 0.022851581000000003 Calling exit ...