Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.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.0009848/0.0009848, allocations: 76.55 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.001559/0.001559, allocations: 181.9 kB / 23.22 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.8746/0.8746, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.6762/0.6762, 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_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.297e-05/2.428e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.00217/0.002195, allocations: 2.008 MB / 0.6212 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007238/0.002918, allocations: 0.5649 MB / 0.6218 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.07e-05/0.002999, allocations: 4 kB / 0.6218 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.003103, allocations: 19.73 kB / 0.6218 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.06e-05/0.003173, allocations: 51.5 kB / 0.6219 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002322/0.003405, allocations: 71.78 kB / 0.6219 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.003579, allocations: 195.1 kB / 0.6221 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.003719, allocations: 46.52 kB / 0.6222 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000191/0.00391, allocations: 111.7 kB / 0.6223 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.849e-05/0.003998, allocations: 59.86 kB / 0.6223 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.004021, allocations: 16 kB / 0.6224 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.784e-05/0.004069, allocations: 19.98 kB / 0.6224 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.645e-05/0.004095, allocations: 35.84 kB / 0.6224 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.601e-05/0.004141, allocations: 59.83 kB / 0.6225 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.004332, allocations: 183.4 kB / 0.6226 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.004335, allocations: 0 / 0.6226 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.112e-06/0.004336, allocations: 4 kB / 0.6226 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.00434, allocations: 0 / 0.6226 GB, free: 9.719 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.0005062/0.004846, allocations: 413.5 kB / 0.623 GB, free: 9.285 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.004882, allocations: 12.03 kB / 0.623 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.004996, allocations: 32.78 kB / 0.6231 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.005202, allocations: 161.4 kB / 0.6232 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.143e-05/0.005273, allocations: 63.97 kB / 0.6233 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.005298, allocations: 12.38 kB / 0.6233 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/0.005539, allocations: 162.1 kB / 0.6235 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.00555, allocations: 192 / 0.6235 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.005565, allocations: 8.125 kB / 0.6235 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.00557, allocations: 4 kB / 0.6235 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002588/0.005829, allocations: 143.8 kB / 0.6236 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005067/0.006336, allocations: 388 kB / 0.624 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002878/0.006624, allocations: 130.6 kB / 0.6241 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.006741, allocations: 68.81 kB / 0.6242 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.00676, allocations: 4 kB / 0.6242 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.006779, allocations: 38.55 kB / 0.6242 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=12): time 2.004e-06/0.006781, allocations: 3.938 kB / 0.6242 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12): time 0.000408/0.007189, allocations: 221.4 kB / 0.6244 GB, free: 7.762 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.007222, allocations: 63.33 kB / 0.6245 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003581/0.00758, allocations: 157.6 kB / 0.6246 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.007594, allocations: 25.7 kB / 0.6247 GB, free: 7.492 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.144e-05/0.007656, allocations: 128.2 kB / 0.6248 GB, free: 7.359 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.007687, allocations: 47.64 kB / 0.6248 GB, free: 7.312 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.007724, allocations: 33.7 kB / 0.6249 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.464e-05/0.007799, allocations: 322.8 kB / 0.6252 GB, free: 6.949 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.007902, allocations: 55.95 kB / 0.6252 GB, free: 6.895 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.008016, allocations: 86.45 kB / 0.6253 GB, free: 6.801 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.008221, allocations: 150.4 kB / 0.6254 GB, free: 6.645 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.008223, allocations: 0 / 0.6254 GB, free: 6.645 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002453/0.008468, allocations: 185.4 kB / 0.6256 GB, free: 6.457 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.008485, allocations: 12 kB / 0.6256 GB, free: 6.445 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.00849, allocations: 0 / 0.6256 GB, free: 6.445 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.008503, allocations: 4 kB / 0.6256 GB, free: 6.441 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.548e-05/0.008599, allocations: 35.97 kB / 0.6257 GB, free: 6.406 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.008605, allocations: 4 kB / 0.6257 GB, free: 6.402 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.71e-05/0.008672, allocations: 23.92 kB / 0.6257 GB, free: 6.379 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.515e-06/0.00868, allocations: 4 kB / 0.6257 GB, free: 6.375 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.78e-05/0.008758, allocations: 126.8 kB / 0.6258 GB, free: 6.242 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.938e-05/0.008777, allocations: 19.91 kB / 0.6258 GB, free: 6.223 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.113e-05/0.008808, allocations: 25.39 kB / 0.6259 GB, free: 6.195 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.008811, allocations: 4 kB / 0.6259 GB, free: 6.191 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.008816, allocations: 3.984 kB / 0.6259 GB, free: 6.188 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.008819, allocations: 0 / 0.6259 GB, free: 6.188 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.008957, allocations: 165.2 kB / 0.626 GB, free: 5.996 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.008958, allocations: 0 / 0.626 GB, free: 5.996 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.625e-05/0.009045, allocations: 35.97 kB / 0.6261 GB, free: 5.961 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.009047, allocations: 0 / 0.6261 GB, free: 5.961 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.009056, allocations: 0 / 0.6261 GB, free: 5.961 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.175e-06/0.009059, allocations: 11.94 kB / 0.6261 GB, free: 5.949 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.00906, allocations: 0 / 0.6261 GB, free: 5.949 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000397/0.009457, allocations: 342 kB / 0.6264 GB, free: 5.602 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.39e-05/0.009471, allocations: 11.94 kB / 0.6264 GB, free: 5.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.009487, allocations: 8.062 kB / 0.6264 GB, free: 5.582 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.993e-05/0.009557, allocations: 23.91 kB / 0.6264 GB, free: 5.559 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.009605, allocations: 15.97 kB / 0.6265 GB, free: 5.543 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.009611, allocations: 4 kB / 0.6265 GB, free: 5.539 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.41e-05/0.009665, allocations: 120.9 kB / 0.6266 GB, free: 5.422 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.009665, allocations: 0 / 0.6266 GB, free: 5.422 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001679/0.009833, allocations: 43.83 kB / 0.6266 GB, free: 5.379 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 8.796e-05/0.009921, allocations: 99.72 kB / 0.6267 GB, free: 5.27 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002571/0.01018, allocations: 135.9 kB / 0.6268 GB, free: 5.137 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01018, allocations: 0 / 0.6268 GB, free: 5.137 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.01029, allocations: 71.83 kB / 0.6269 GB, free: 5.066 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.0105, allocations: 24.11 kB / 0.6269 GB, free: 5.043 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005441/0.01105, allocations: 371.9 kB / 0.6273 GB, free: 4.648 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.593e-05/0.01111, allocations: 111.6 kB / 0.6274 GB, free: 4.52 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.37e-05/0.01116, allocations: 16.5 kB / 0.6274 GB, free: 4.504 MB / 0.5886 GB Notification: Performance of SimCode: time 7.72e-07/0.01116, allocations: 0 / 0.6274 GB, free: 4.504 MB / 0.5886 GB Notification: Performance of Templates: time 0.002447/0.0136, allocations: 1.918 MB / 0.6293 GB, free: 2.598 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.sim & ./IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.083113864064217] Failed to read output from testmodel.py, exit status != 0: 0.018768124282360077 0.026533552000000002 0.020627639 Calling exit ...