Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.000768/0.000768, allocations: 72.55 kB / 19.93 MB, free: 4.621 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.0007842/0.0007842, allocations: 177.9 kB / 23.22 MB, free: 1.336 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.8426/0.8426, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6814/0.6814, allocations: 154.6 MB / 414.5 MB, free: 0.8086 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.123e-06/1.123e-06, allocations: 0 / 0.6193 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.201e-05/1.314e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.00191/0.001923, allocations: 2.003 MB / 0.6212 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006214/0.002545, allocations: 0.5687 MB / 0.6218 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.01e-05/0.002615, allocations: 8 kB / 0.6218 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 8.542e-05/0.0027, allocations: 19.73 kB / 0.6218 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.415e-05/0.002764, allocations: 43.52 kB / 0.6219 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001966/0.002961, allocations: 71.78 kB / 0.6219 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.003119, allocations: 195.1 kB / 0.6221 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.003236, allocations: 46.5 kB / 0.6222 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.003387, allocations: 119.6 kB / 0.6223 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.506e-05/0.003462, allocations: 59.86 kB / 0.6223 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.003482, allocations: 12 kB / 0.6223 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.104e-05/0.003523, allocations: 24 kB / 0.6224 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.439e-05/0.003547, allocations: 35.83 kB / 0.6224 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.104e-05/0.003588, allocations: 59.83 kB / 0.6225 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.003755, allocations: 175.4 kB / 0.6226 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.003757, allocations: 0 / 0.6226 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.31e-07/0.003758, allocations: 0 / 0.6226 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.096e-06/0.003761, allocations: 0 / 0.6226 GB, free: 9.801 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.0004756/0.004237, allocations: 421.4 kB / 0.623 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.638e-05/0.004263, allocations: 8.031 kB / 0.623 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.004364, allocations: 40.72 kB / 0.6231 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.004525, allocations: 161.5 kB / 0.6232 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.973e-05/0.004585, allocations: 63.97 kB / 0.6233 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.004607, allocations: 12.38 kB / 0.6233 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.00483, allocations: 162.1 kB / 0.6235 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.00484, allocations: 192 / 0.6235 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.004854, allocations: 12.12 kB / 0.6235 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.004858, allocations: 0 / 0.6235 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002523/0.005111, allocations: 147.9 kB / 0.6236 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004447/0.005555, allocations: 384 kB / 0.624 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.005813, allocations: 130.6 kB / 0.6241 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.005925, allocations: 72.81 kB / 0.6242 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.00594, allocations: 0 / 0.6242 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.495e-05/0.005955, allocations: 34.56 kB / 0.6242 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=12): time 7.71e-07/0.005956, allocations: 0 / 0.6242 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12): time 0.0003827/0.006339, allocations: 229.3 kB / 0.6244 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.006364, allocations: 51.41 kB / 0.6245 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.555e-05/0.00645, allocations: 161.6 kB / 0.6246 GB, free: 7.602 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.006463, allocations: 29.7 kB / 0.6246 GB, free: 7.566 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.633e-05/0.00652, allocations: 132.2 kB / 0.6248 GB, free: 7.43 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.006544, allocations: 39.64 kB / 0.6248 GB, free: 7.391 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.719e-05/0.006581, allocations: 29.72 kB / 0.6248 GB, free: 7.355 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.153e-05/0.006652, allocations: 322.8 kB / 0.6251 GB, free: 7.031 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.006756, allocations: 67.94 kB / 0.6252 GB, free: 6.965 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.006866, allocations: 82.52 kB / 0.6253 GB, free: 6.875 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/0.007068, allocations: 142.4 kB / 0.6254 GB, free: 6.727 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.00707, allocations: 7.938 kB / 0.6254 GB, free: 6.719 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002379/0.007308, allocations: 181.5 kB / 0.6256 GB, free: 6.535 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.007319, allocations: 7.938 kB / 0.6256 GB, free: 6.527 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.007322, allocations: 4 kB / 0.6256 GB, free: 6.523 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/0.007332, allocations: 7.922 kB / 0.6256 GB, free: 6.516 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.179e-05/0.007424, allocations: 43.97 kB / 0.6257 GB, free: 6.473 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.007428, allocations: 0 / 0.6257 GB, free: 6.473 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.292e-05/0.007491, allocations: 31.86 kB / 0.6257 GB, free: 6.441 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.007498, allocations: 4 kB / 0.6257 GB, free: 6.438 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 6.545e-05/0.007563, allocations: 126.8 kB / 0.6258 GB, free: 6.305 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.897e-05/0.007582, allocations: 15.91 kB / 0.6258 GB, free: 6.289 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.595e-05/0.007608, allocations: 17.41 kB / 0.6259 GB, free: 6.27 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.007611, allocations: 4 kB / 0.6259 GB, free: 6.266 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.007613, allocations: 0 / 0.6259 GB, free: 6.266 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.007617, allocations: 7.984 kB / 0.6259 GB, free: 6.258 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.007745, allocations: 165.2 kB / 0.626 GB, free: 6.066 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.007746, allocations: 0 / 0.626 GB, free: 6.066 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.205e-05/0.007828, allocations: 39.91 kB / 0.6261 GB, free: 6.027 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.00783, allocations: 0 / 0.6261 GB, free: 6.027 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.007837, allocations: 0 / 0.6261 GB, free: 6.027 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.007839, allocations: 3.938 kB / 0.6261 GB, free: 6.023 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-07/0.007839, allocations: 0 / 0.6261 GB, free: 6.023 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003844/0.008224, allocations: 350.3 kB / 0.6264 GB, free: 5.668 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.369e-05/0.008237, allocations: 11.94 kB / 0.6264 GB, free: 5.656 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.008251, allocations: 0 / 0.6264 GB, free: 5.656 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.208e-05/0.008323, allocations: 27.91 kB / 0.6264 GB, free: 5.629 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.008357, allocations: 7.984 kB / 0.6264 GB, free: 5.621 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.008361, allocations: 4.062 kB / 0.6265 GB, free: 5.617 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.049e-05/0.008411, allocations: 124.9 kB / 0.6266 GB, free: 5.496 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.008412, allocations: 0 / 0.6266 GB, free: 5.496 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000159/0.008571, allocations: 43.83 kB / 0.6266 GB, free: 5.453 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 6.326e-05/0.008634, allocations: 95.77 kB / 0.6267 GB, free: 5.348 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000245/0.008879, allocations: 146.8 kB / 0.6268 GB, free: 5.207 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.00888, allocations: 0 / 0.6268 GB, free: 5.207 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.00899, allocations: 75.83 kB / 0.6269 GB, free: 5.133 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000181/0.009171, allocations: 15.98 kB / 0.6269 GB, free: 5.117 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004377/0.009609, allocations: 375.9 kB / 0.6273 GB, free: 4.719 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.959e-05/0.009669, allocations: 111.6 kB / 0.6274 GB, free: 4.59 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.007e-05/0.009709, allocations: 16.5 kB / 0.6274 GB, free: 4.574 MB / 0.5886 GB Notification: Performance of SimCode: time 4.71e-07/0.009709, allocations: 0 / 0.6274 GB, free: 4.574 MB / 0.5886 GB Notification: Performance of Templates: time 0.002076/0.01179, allocations: 1.917 MB / 0.6293 GB, free: 2.668 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.sim & ./IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.89872801117599] Failed to read output from testmodel.py, exit status != 0: 0.015722448006272316 0.022660451 0.017469842000000003 Calling exit ...