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.001324/0.001324, allocations: 80.33 kB / 19.18 MB, free: 2.527 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.001463/0.001463, allocations: 164.1 kB / 22.46 MB, free: 5.359 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.467/1.467, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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 1.185/1.185, allocations: 154.6 MB / 413.8 MB, free: 5.207 MB / 382.1 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 178] 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.813e-06/1.813e-06, allocations: 0 / 0.6185 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.178e-05/3.359e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.003908/0.003942, allocations: 1.985 MB / 0.6205 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.005222, allocations: 0.5673 MB / 0.621 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001715/0.005394, allocations: 0.7188 kB / 0.621 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001488/0.005542, allocations: 31.66 kB / 0.6211 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000136/0.005678, allocations: 45.16 kB / 0.6211 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002943/0.005973, allocations: 76.72 kB / 0.6212 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003084/0.006281, allocations: 195 kB / 0.6214 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.006452, allocations: 55.09 kB / 0.6214 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002664/0.006718, allocations: 113.7 kB / 0.6215 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.006843, allocations: 51.86 kB / 0.6216 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.618e-05/0.006879, allocations: 16 kB / 0.6216 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.809e-05/0.006947, allocations: 16 kB / 0.6216 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.267e-05/0.00699, allocations: 35.84 kB / 0.6216 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.592e-05/0.007066, allocations: 64.67 kB / 0.6217 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002943/0.00736, allocations: 179.4 kB / 0.6219 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.007363, allocations: 4 kB / 0.6219 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.22e-07/0.007364, allocations: 0 / 0.6219 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.007375, allocations: 0 / 0.6219 GB, free: 1.188 MB / 0.5294 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.0009357/0.008311, allocations: 425.3 kB / 0.6223 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.00836, allocations: 8.031 kB / 0.6223 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001779/0.008538, allocations: 32.78 kB / 0.6223 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003955/0.008933, allocations: 166.3 kB / 0.6225 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.009039, allocations: 63.91 kB / 0.6225 GB, free: 452 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.306e-05/0.009082, allocations: 16.38 kB / 0.6226 GB, free: 436 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004924/0.009574, allocations: 154.1 kB / 0.6227 GB, free: 276 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.009589, allocations: 192 / 0.6227 GB, free: 276 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/0.009611, allocations: 8.125 kB / 0.6227 GB, free: 268 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.009618, allocations: 4 kB / 0.6227 GB, free: 264 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005302/0.01015, allocations: 151.9 kB / 0.6229 GB, free: 112 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008259/0.01097, allocations: 388 kB / 0.6232 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004718/0.01145, allocations: 126.7 kB / 0.6233 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002526/0.0117, allocations: 76.8 kB / 0.6234 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.01172, allocations: 3.938 kB / 0.6234 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.01174, allocations: 34.56 kB / 0.6235 GB, free: 15.44 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.01175, allocations: 0 / 0.6235 GB, free: 15.44 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.0008989/0.01265, allocations: 229.3 kB / 0.6237 GB, free: 15.21 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.01268, allocations: 51.41 kB / 0.6237 GB, free: 15.15 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.01285, allocations: 156.7 kB / 0.6239 GB, free: 14.98 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.01288, allocations: 33.7 kB / 0.6239 GB, free: 14.95 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.01298, allocations: 132.2 kB / 0.624 GB, free: 14.81 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.097e-05/0.01304, allocations: 35.69 kB / 0.6241 GB, free: 14.77 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.349e-05/0.0131, allocations: 33.7 kB / 0.6241 GB, free: 14.73 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.01329, allocations: 326.8 kB / 0.6244 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000226/0.01352, allocations: 55.95 kB / 0.6245 GB, free: 14.35 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002542/0.01377, allocations: 93.12 kB / 0.6246 GB, free: 14.25 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004334/0.0142, allocations: 138.4 kB / 0.6247 GB, free: 14.11 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.01421, allocations: 4 kB / 0.6247 GB, free: 14.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005357/0.01474, allocations: 189.4 kB / 0.6249 GB, free: 13.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.01476, allocations: 12 kB / 0.6249 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.01476, allocations: 0 / 0.6249 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.01478, allocations: 4 kB / 0.6249 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/0.01498, allocations: 39.91 kB / 0.6249 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.01499, allocations: 0 / 0.6249 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001587/0.01514, allocations: 27.86 kB / 0.6249 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.01516, allocations: 8 kB / 0.625 GB, free: 13.82 MB / 0.545 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 0.0001206/0.01528, allocations: 126.8 kB / 0.6251 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.936e-05/0.01532, allocations: 11.91 kB / 0.6251 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.972e-05/0.01537, allocations: 25.39 kB / 0.6251 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.01537, allocations: 4 kB / 0.6251 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.01538, allocations: 0 / 0.6251 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.01538, allocations: 0 / 0.6251 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/0.01563, allocations: 165.2 kB / 0.6253 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01563, allocations: 0 / 0.6253 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002049/0.01583, allocations: 35.91 kB / 0.6253 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.01584, allocations: 0 / 0.6253 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.01585, allocations: 8 kB / 0.6253 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.01586, allocations: 7.922 kB / 0.6253 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.01586, allocations: 4 kB / 0.6253 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008243/0.01668, allocations: 335.2 kB / 0.6256 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.69e-05/0.01671, allocations: 15.94 kB / 0.6257 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.01674, allocations: 8.062 kB / 0.6257 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.01692, allocations: 19.91 kB / 0.6257 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.765e-05/0.01699, allocations: 19.95 kB / 0.6257 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.017, allocations: 4 kB / 0.6257 GB, free: 13 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001022/0.0171, allocations: 119.9 kB / 0.6258 GB, free: 12.88 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.0171, allocations: 0 / 0.6258 GB, free: 12.88 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002766/0.01738, allocations: 39.89 kB / 0.6259 GB, free: 12.84 MB / 0.545 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 0.0001206/0.0175, allocations: 95.25 kB / 0.626 GB, free: 12.74 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005563/0.01805, allocations: 143.8 kB / 0.6261 GB, free: 12.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01805, allocations: 0 / 0.6261 GB, free: 12.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002421/0.0183, allocations: 82.94 kB / 0.6262 GB, free: 12.52 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.0186, allocations: 20.03 kB / 0.6262 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007677/0.01937, allocations: 342.1 kB / 0.6265 GB, free: 12.14 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.01948, allocations: 103.6 kB / 0.6266 GB, free: 12.02 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.898e-05/0.01955, allocations: 24.36 kB / 0.6266 GB, free: 11.99 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.556e-05/0.0196, allocations: 12.5 kB / 0.6267 GB, free: 11.98 MB / 0.545 GB Notification: Performance of SimCode: time 2.71e-07/0.0196, allocations: 0 / 0.6267 GB, free: 11.98 MB / 0.545 GB Notification: Performance of Templates: time 0.005212/0.02481, allocations: 1.615 MB / 0.6282 GB, free: 10.42 MB / 0.545 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: 5.714992258697748] Failed to read output from testmodel.py, exit status != 0: 0.03406709432601929 0.049293698000000004 0.038799134 Calling exit ...