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.0007056/0.0007056, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007057/0.0007057, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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.872/0.872, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.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.6804/0.6804, allocations: 154.5 MB / 414.5 MB, free: 0.8359 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.6192 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.487e-05/2.67e-05, allocations: 3.5 kB / 0.6192 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.002202/0.002229, allocations: 2.005 MB / 0.6212 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007974/0.003026, allocations: 0.5531 MB / 0.6217 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.003131, allocations: 7.938 kB / 0.6217 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.003236, allocations: 19.8 kB / 0.6217 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.45e-05/0.003321, allocations: 55.44 kB / 0.6218 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002639/0.003585, allocations: 67.84 kB / 0.6219 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.003774, allocations: 195.1 kB / 0.6221 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.003921, allocations: 50.45 kB / 0.6221 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001976/0.004118, allocations: 103.8 kB / 0.6222 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.799e-05/0.004206, allocations: 63.8 kB / 0.6223 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.379e-05/0.00423, allocations: 16 kB / 0.6223 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.14e-05/0.004281, allocations: 23.98 kB / 0.6223 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.56e-05/0.004307, allocations: 31.84 kB / 0.6223 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.603e-05/0.004353, allocations: 55.89 kB / 0.6224 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.004577, allocations: 187.3 kB / 0.6226 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.004581, allocations: 0 / 0.6226 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.392e-06/0.004582, allocations: 4 kB / 0.6226 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.004588, allocations: 0 / 0.6226 GB, free: 9.809 MB / 0.5886 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.0006397/0.005227, allocations: 421.4 kB / 0.623 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.005273, allocations: 13.41 kB / 0.623 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.005422, allocations: 28.8 kB / 0.623 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.005707, allocations: 161.5 kB / 0.6232 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.252e-05/0.0058, allocations: 63.97 kB / 0.6232 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.262e-05/0.005832, allocations: 12.38 kB / 0.6232 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.006112, allocations: 162.1 kB / 0.6234 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.006125, allocations: 192 / 0.6234 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.006143, allocations: 12.11 kB / 0.6234 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.00615, allocations: 4 kB / 0.6234 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000271/0.006421, allocations: 143.9 kB / 0.6235 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006246/0.007045, allocations: 388 kB / 0.6239 GB, free: 8.328 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003234/0.007369, allocations: 126.7 kB / 0.624 GB, free: 8.195 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.007496, allocations: 76.81 kB / 0.6241 GB, free: 8.117 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.007515, allocations: 0 / 0.6241 GB, free: 8.117 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.007532, allocations: 34.55 kB / 0.6241 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=12): time 1.032e-06/0.007533, allocations: 3.938 kB / 0.6241 GB, free: 8.07 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12): time 0.0004236/0.007957, allocations: 228.7 kB / 0.6244 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.007986, allocations: 55.39 kB / 0.6244 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.875e-05/0.008085, allocations: 157.6 kB / 0.6246 GB, free: 7.613 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.0081, allocations: 29.7 kB / 0.6246 GB, free: 7.578 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.177e-05/0.008162, allocations: 128.2 kB / 0.6247 GB, free: 7.445 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.008188, allocations: 43.64 kB / 0.6248 GB, free: 7.402 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.304e-05/0.008231, allocations: 29.7 kB / 0.6248 GB, free: 7.367 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.692e-05/0.008308, allocations: 326.8 kB / 0.6251 GB, free: 7.039 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.008417, allocations: 55.95 kB / 0.6251 GB, free: 6.984 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.008536, allocations: 94.45 kB / 0.6252 GB, free: 6.883 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/0.008747, allocations: 141.7 kB / 0.6254 GB, free: 6.738 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.008749, allocations: 0 / 0.6254 GB, free: 6.738 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002583/0.009007, allocations: 189.5 kB / 0.6256 GB, free: 6.547 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.009022, allocations: 7.938 kB / 0.6256 GB, free: 6.539 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.009027, allocations: 0 / 0.6256 GB, free: 6.539 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.009043, allocations: 4 kB / 0.6256 GB, free: 6.535 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.009151, allocations: 39.97 kB / 0.6256 GB, free: 6.496 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.009156, allocations: 4 kB / 0.6256 GB, free: 6.492 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.698e-05/0.009223, allocations: 27.92 kB / 0.6256 GB, free: 6.465 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.009232, allocations: 4 kB / 0.6256 GB, free: 6.461 MB / 0.5886 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.846e-05/0.009311, allocations: 130.8 kB / 0.6258 GB, free: 6.324 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/0.009331, allocations: 11.91 kB / 0.6258 GB, free: 6.312 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.564e-05/0.009367, allocations: 25.39 kB / 0.6258 GB, free: 6.281 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.00937, allocations: 0 / 0.6258 GB, free: 6.281 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.009374, allocations: 0 / 0.6258 GB, free: 6.281 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.009377, allocations: 11.94 kB / 0.6258 GB, free: 6.27 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.009521, allocations: 165.2 kB / 0.626 GB, free: 6.078 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.009522, allocations: 3.938 kB / 0.626 GB, free: 6.074 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.539e-05/0.009617, allocations: 31.97 kB / 0.626 GB, free: 6.043 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.00962, allocations: 0 / 0.626 GB, free: 6.043 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.009631, allocations: 4 kB / 0.626 GB, free: 6.039 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.009633, allocations: 3.938 kB / 0.626 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.009634, allocations: 0 / 0.626 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004149/0.01005, allocations: 343.2 kB / 0.6263 GB, free: 5.684 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.523e-05/0.01006, allocations: 11.94 kB / 0.6263 GB, free: 5.672 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.01008, allocations: 4 kB / 0.6264 GB, free: 5.668 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.389e-05/0.01015, allocations: 27.84 kB / 0.6264 GB, free: 5.641 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.791e-05/0.01021, allocations: 11.97 kB / 0.6264 GB, free: 5.629 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.01022, allocations: 4.062 kB / 0.6264 GB, free: 5.625 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.614e-05/0.01028, allocations: 124.9 kB / 0.6265 GB, free: 5.504 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01028, allocations: 0 / 0.6265 GB, free: 5.504 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001723/0.01045, allocations: 39.89 kB / 0.6266 GB, free: 5.465 MB / 0.5886 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 9.089e-05/0.01054, allocations: 95.78 kB / 0.6266 GB, free: 5.359 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000277/0.01082, allocations: 144 kB / 0.6268 GB, free: 5.219 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01082, allocations: 0 / 0.6268 GB, free: 5.219 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.01093, allocations: 71.89 kB / 0.6268 GB, free: 5.148 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.01116, allocations: 11.98 kB / 0.6269 GB, free: 5.137 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005504/0.01171, allocations: 379.8 kB / 0.6272 GB, free: 4.734 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.719e-05/0.01177, allocations: 115.5 kB / 0.6273 GB, free: 4.605 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.794e-05/0.01182, allocations: 12.5 kB / 0.6273 GB, free: 4.594 MB / 0.5886 GB Notification: Performance of SimCode: time 5.61e-07/0.01182, allocations: 4 kB / 0.6273 GB, free: 4.59 MB / 0.5886 GB Notification: Performance of Templates: time 0.002556/0.01438, allocations: 1.912 MB / 0.6292 GB, free: 2.684 MB / 0.5886 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: 4.790847849100828] Failed to read output from testmodel.py, exit status != 0: 0.019824844785034657 0.027895433 0.021645313000000003 Calling exit ...