Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008397/0.0008397, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.0008321/0.0008321, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9165/0.9165, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7365/0.7365, allocations: 154.5 MB / 413.7 MB, free: 0.832 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: "" <> buildModelFMU(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Cooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Cooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.874e-05/2.017e-05, allocations: 8.656 kB / 0.618 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.002185/0.002205, allocations: 1.994 MB / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007707/0.002976, allocations: 0.5687 MB / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.798e-05/0.003074, allocations: 4 kB / 0.6205 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.003187, allocations: 19.73 kB / 0.6205 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.184e-05/0.003269, allocations: 55.5 kB / 0.6206 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002683/0.003537, allocations: 63.84 kB / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.003728, allocations: 191.1 kB / 0.6208 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.003878, allocations: 46.52 kB / 0.6209 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001883/0.004066, allocations: 107.8 kB / 0.621 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.055e-05/0.004156, allocations: 63.8 kB / 0.621 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.004181, allocations: 16 kB / 0.621 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.922e-05/0.004231, allocations: 23.98 kB / 0.6211 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.728e-05/0.004258, allocations: 39.78 kB / 0.6211 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.243e-05/0.0043, allocations: 55.89 kB / 0.6212 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.00449, allocations: 179.4 kB / 0.6213 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.004492, allocations: 0 / 0.6213 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.052e-06/0.004493, allocations: 0 / 0.6213 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.004498, allocations: 0 / 0.6213 GB, free: 10.32 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.0005522/0.00505, allocations: 421.4 kB / 0.6217 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.00509, allocations: 13.47 kB / 0.6217 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.132e-05/0.005131, allocations: 46.75 kB / 0.6218 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.00524, allocations: 32.78 kB / 0.6218 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.005432, allocations: 161.5 kB / 0.622 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.458e-05/0.005507, allocations: 63.97 kB / 0.622 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.005532, allocations: 12.38 kB / 0.6221 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/0.005789, allocations: 162.1 kB / 0.6222 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.005802, allocations: 192 / 0.6222 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.005816, allocations: 7.938 kB / 0.6222 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.005822, allocations: 4 kB / 0.6222 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000259/0.006081, allocations: 143.8 kB / 0.6224 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005462/0.006628, allocations: 431.4 kB / 0.6228 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/0.006909, allocations: 126.6 kB / 0.6229 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.007025, allocations: 76.8 kB / 0.623 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.007043, allocations: 3.938 kB / 0.623 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.00706, allocations: 34.56 kB / 0.623 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.007061, allocations: 0 / 0.623 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12): time 0.0004098/0.007471, allocations: 221.4 kB / 0.6232 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.007501, allocations: 55.41 kB / 0.6233 GB, free: 8.184 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.007605, allocations: 161.3 kB / 0.6234 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.00762, allocations: 33.7 kB / 0.6234 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.826e-05/0.007688, allocations: 128.3 kB / 0.6236 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.007715, allocations: 43.58 kB / 0.6236 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.889e-05/0.007754, allocations: 25.72 kB / 0.6236 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.805e-05/0.007842, allocations: 326.8 kB / 0.6239 GB, free: 7.441 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.00795, allocations: 59.94 kB / 0.624 GB, free: 7.383 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.008066, allocations: 90.52 kB / 0.6241 GB, free: 7.285 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002067/0.008272, allocations: 138.4 kB / 0.6242 GB, free: 7.141 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.008274, allocations: 0 / 0.6242 GB, free: 7.141 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000341/0.008615, allocations: 192.8 kB / 0.6244 GB, free: 6.949 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.008628, allocations: 4 kB / 0.6244 GB, free: 6.945 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.008635, allocations: 4 kB / 0.6244 GB, free: 6.941 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.008647, allocations: 0 / 0.6244 GB, free: 6.941 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.913e-05/0.008746, allocations: 39.95 kB / 0.6245 GB, free: 6.902 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.008751, allocations: 8 kB / 0.6245 GB, free: 6.895 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.464e-05/0.008816, allocations: 27.88 kB / 0.6245 GB, free: 6.867 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.008825, allocations: 4 kB / 0.6245 GB, free: 6.863 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.911e-05/0.008904, allocations: 130.8 kB / 0.6246 GB, free: 6.727 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.949e-05/0.008924, allocations: 15.84 kB / 0.6246 GB, free: 6.711 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.039e-05/0.008954, allocations: 17.47 kB / 0.6246 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.008958, allocations: 4 kB / 0.6247 GB, free: 6.684 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.008964, allocations: 0 / 0.6247 GB, free: 6.684 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.008968, allocations: 0 / 0.6247 GB, free: 6.684 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.009127, allocations: 204.7 kB / 0.6248 GB, free: 6.441 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.009128, allocations: 0 / 0.6248 GB, free: 6.441 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.533e-05/0.009213, allocations: 35.91 kB / 0.6249 GB, free: 6.406 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.009215, allocations: 0 / 0.6249 GB, free: 6.406 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.009226, allocations: 7.984 kB / 0.6249 GB, free: 6.398 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.009227, allocations: 0 / 0.6249 GB, free: 6.398 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.009228, allocations: 4 kB / 0.6249 GB, free: 6.395 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004076/0.009635, allocations: 339.2 kB / 0.6252 GB, free: 6.047 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.763e-05/0.009653, allocations: 19.81 kB / 0.6252 GB, free: 6.027 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.009667, allocations: 0 / 0.6252 GB, free: 6.027 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.226e-05/0.009739, allocations: 23.97 kB / 0.6253 GB, free: 6.004 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.009783, allocations: 11.97 kB / 0.6253 GB, free: 5.992 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.303e-06/0.00979, allocations: 8 kB / 0.6253 GB, free: 5.984 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.348e-05/0.009844, allocations: 120.2 kB / 0.6254 GB, free: 5.867 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.009844, allocations: 0 / 0.6254 GB, free: 5.867 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001706/0.01001, allocations: 35.95 kB / 0.6254 GB, free: 5.832 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 0.0005753/0.01059, allocations: 0.8838 MB / 0.6263 GB, free: 4.922 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002678/0.01086, allocations: 135.8 kB / 0.6264 GB, free: 4.789 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.01086, allocations: 0 / 0.6264 GB, free: 4.789 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.01096, allocations: 67.89 kB / 0.6265 GB, free: 4.723 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.01119, allocations: 26.3 kB / 0.6265 GB, free: 4.699 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.01291, allocations: 1.956 MB / 0.6284 GB, free: 2.652 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.306e-05/0.01298, allocations: 99.61 kB / 0.6285 GB, free: 2.539 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.863e-05/0.01303, allocations: 16.48 kB / 0.6285 GB, free: 2.523 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.133e-05/0.0131, allocations: 40.48 kB / 0.6286 GB, free: 2.484 MB / 0.5886 GB Notification: Performance of SimCode: time 1.022e-06/0.0131, allocations: 4 kB / 0.6286 GB, free: 2.48 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0177/0.0308, allocations: 4.095 MB / 0.6326 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.178/7.209, allocations: 6.75 kB / 0.6326 GB, free: 14.56 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_dev_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Cooling.fmu > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.218923314474523] Failed to read output from testmodel.py, exit status != 0: 7.291688058525324 7.302165926 7.296049387 Calling exit ...