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.0006765/0.0006765, allocations: 100.4 kB / 19.71 MB, free: 448 kB / 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.0006923/0.0006923, allocations: 212.1 kB / 23 MB, free: 2.973 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.8131/0.8131, allocations: 230.6 MB / 256.8 MB, free: 9.582 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.6963/0.6963, allocations: 203.8 MB / 0.5049 GB, free: 10.01 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.001487/0.001487, allocations: 74.62 kB / 0.7194 GB, free: 3.547 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4128/0.4143, allocations: 102 MB / 0.819 GB, free: 1.32 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.002117/0.4164, allocations: 1.991 MB / 0.8209 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007675/0.4172, allocations: 0.5762 MB / 0.8215 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.115e-05/0.4173, allocations: 3.938 kB / 0.8215 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.4174, allocations: 26.94 kB / 0.8215 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.404e-05/0.4175, allocations: 46.2 kB / 0.8216 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002476/0.4177, allocations: 63.91 kB / 0.8216 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.4179, allocations: 186.1 kB / 0.8218 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.418, allocations: 46.45 kB / 0.8218 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.4182, allocations: 90.89 kB / 0.8219 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.835e-05/0.4183, allocations: 67.53 kB / 0.822 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.4183, allocations: 15.91 kB / 0.822 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.552e-05/0.4184, allocations: 16.23 kB / 0.822 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.941e-05/0.4184, allocations: 39.62 kB / 0.8221 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.118e-05/0.4184, allocations: 72.17 kB / 0.8221 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.4186, allocations: 179.5 kB / 0.8223 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.4186, allocations: 0 / 0.8223 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4186, allocations: 0 / 0.8223 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.4186, allocations: 0 / 0.8223 GB, free: 15.16 MB / 0.6198 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.0005344/0.4192, allocations: 423 kB / 0.8227 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.4192, allocations: 10.19 kB / 0.8227 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.4193, allocations: 34.94 kB / 0.8227 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.4195, allocations: 164.7 kB / 0.8229 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.504e-05/0.4196, allocations: 65.7 kB / 0.823 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.4196, allocations: 17.53 kB / 0.823 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.4199, allocations: 160.2 kB / 0.8231 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.4199, allocations: 3.984 kB / 0.8231 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.4199, allocations: 6.484 kB / 0.8231 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.4199, allocations: 7.75 kB / 0.8232 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002812/0.4202, allocations: 141.7 kB / 0.8233 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005206/0.4207, allocations: 385.1 kB / 0.8237 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002949/0.421, allocations: 132 kB / 0.8238 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.4211, allocations: 77.25 kB / 0.8239 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.4212, allocations: 1.469 kB / 0.8239 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.4212, allocations: 32.34 kB / 0.8239 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.4212, allocations: 0 / 0.8239 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0004273/0.4216, allocations: 225.8 kB / 0.8241 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.4216, allocations: 57.09 kB / 0.8242 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.814e-05/0.4217, allocations: 157.8 kB / 0.8243 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.4217, allocations: 30.8 kB / 0.8243 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.327e-05/0.4218, allocations: 138.2 kB / 0.8245 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.4218, allocations: 36.19 kB / 0.8245 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.221e-05/0.4219, allocations: 30.61 kB / 0.8245 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.836e-05/0.422, allocations: 325.9 kB / 0.8248 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.4221, allocations: 58.03 kB / 0.8249 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.4222, allocations: 86.64 kB / 0.825 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.4224, allocations: 143.7 kB / 0.8251 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.4224, allocations: 0 / 0.8251 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002715/0.4227, allocations: 198.8 kB / 0.8253 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.4227, allocations: 6.234 kB / 0.8253 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.4227, allocations: 0 / 0.8253 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.4227, allocations: 2.219 kB / 0.8253 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.4228, allocations: 40.92 kB / 0.8254 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.351e-06/0.4228, allocations: 0.6562 kB / 0.8254 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.504e-05/0.4229, allocations: 30.53 kB / 0.8254 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.4229, allocations: 4.656 kB / 0.8254 GB, free: 13.02 MB / 0.6198 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 7.295e-05/0.423, allocations: 128.1 kB / 0.8255 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.079e-05/0.423, allocations: 19.41 kB / 0.8255 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/0.423, allocations: 19.05 kB / 0.8255 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.423, allocations: 0.5156 kB / 0.8255 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.423, allocations: 1.062 kB / 0.8255 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.4231, allocations: 0.6094 kB / 0.8255 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.4232, allocations: 163.5 kB / 0.8257 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4232, allocations: 0.5625 kB / 0.8257 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.603e-05/0.4233, allocations: 45.3 kB / 0.8257 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.4233, allocations: 0 / 0.8257 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.4233, allocations: 8.281 kB / 0.8258 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.4233, allocations: 3.938 kB / 0.8258 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.4233, allocations: 0.6562 kB / 0.8258 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004193/0.4237, allocations: 340.1 kB / 0.8261 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.773e-05/0.4237, allocations: 20.25 kB / 0.8261 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.4238, allocations: 2.094 kB / 0.8261 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.657e-05/0.4238, allocations: 20.83 kB / 0.8261 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.4239, allocations: 12 kB / 0.8261 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.4239, allocations: 5.875 kB / 0.8261 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.45e-05/0.4239, allocations: 117.2 kB / 0.8263 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4239, allocations: 0 / 0.8263 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00017/0.4241, allocations: 40.56 kB / 0.8263 GB, free: 12.39 MB / 0.6198 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.819e-05/0.4242, allocations: 104.8 kB / 0.8264 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002778/0.4245, allocations: 137.7 kB / 0.8265 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4245, allocations: 0 / 0.8265 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.4246, allocations: 77.44 kB / 0.8266 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.4248, allocations: 13.09 kB / 0.8266 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005635/0.4254, allocations: 424.5 kB / 0.827 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.501e-05/0.4254, allocations: 106.8 kB / 0.8271 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.58e-05/0.4255, allocations: 24.69 kB / 0.8271 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of SimCode: time 2.9e-07/0.4255, allocations: 0 / 0.8271 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of Templates: time 0.002759/0.4282, allocations: 1.905 MB / 0.829 GB, free: 11.67 MB / 0.6198 GB " [Timeout remaining time 660] 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.1660347962751985] Failed to read output from testmodel.py, exit status != 0: 0.4348408621735871 0.442404959 0.021967167000000003 Calling exit ...