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.0009032/0.0009032, 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.001027/0.001027, 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.8748/0.8748, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.7111/0.7111, allocations: 154.6 MB / 413.7 MB, free: 0.8164 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_Heating,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Heating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Heating",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.153e-05/1.278e-05, allocations: 2.281 kB / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.002143/0.002156, allocations: 2.002 MB / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00073/0.002886, allocations: 0.5647 MB / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.992e-05/0.002976, allocations: 4 kB / 0.6205 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001117/0.003088, allocations: 23.73 kB / 0.6205 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.505e-05/0.003163, allocations: 47.5 kB / 0.6206 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.003408, allocations: 67.84 kB / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0004612/0.003869, allocations: 191.2 kB / 0.6208 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.00401, allocations: 46.53 kB / 0.6209 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001838/0.004194, allocations: 119.7 kB / 0.621 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.431e-05/0.004278, allocations: 51.81 kB / 0.621 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.004305, allocations: 16 kB / 0.621 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.138e-05/0.004356, allocations: 23.97 kB / 0.6211 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.683e-05/0.004383, allocations: 31.86 kB / 0.6211 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.523e-05/0.004428, allocations: 55.89 kB / 0.6212 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.004627, allocations: 183.4 kB / 0.6213 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.00463, allocations: 4 kB / 0.6213 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.71e-07/0.004631, allocations: 0 / 0.6213 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.004635, 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.0005367/0.005172, allocations: 421.5 kB / 0.6217 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.005211, allocations: 9.469 kB / 0.6217 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.711e-05/0.005248, allocations: 46.75 kB / 0.6218 GB, free: 9.816 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.005351, allocations: 32.78 kB / 0.6218 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.005544, allocations: 161.4 kB / 0.622 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.095e-05/0.005615, allocations: 63.97 kB / 0.622 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.00564, allocations: 16.38 kB / 0.6221 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002585/0.005898, allocations: 154.1 kB / 0.6222 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.005912, allocations: 4.188 kB / 0.6222 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.005927, allocations: 7.938 kB / 0.6222 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.005934, allocations: 4 kB / 0.6222 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002663/0.0062, allocations: 147.8 kB / 0.6224 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005583/0.006758, allocations: 419.4 kB / 0.6228 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002942/0.007052, allocations: 130.6 kB / 0.6229 GB, free: 8.605 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.007171, allocations: 72.8 kB / 0.6229 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.007192, allocations: 7.938 kB / 0.623 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.00721, allocations: 30.56 kB / 0.623 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.007211, allocations: 0 / 0.623 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12): time 0.0004194/0.00763, allocations: 229.4 kB / 0.6232 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.007662, allocations: 55.41 kB / 0.6233 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.862e-05/0.007761, allocations: 157.4 kB / 0.6234 GB, free: 8.023 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.007776, allocations: 29.7 kB / 0.6234 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.44e-05/0.00784, allocations: 128.3 kB / 0.6236 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.00787, allocations: 51.5 kB / 0.6236 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.162e-05/0.007911, allocations: 29.72 kB / 0.6236 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.908e-05/0.00799, allocations: 330.8 kB / 0.624 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.0081, allocations: 59.94 kB / 0.624 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.008221, allocations: 82.52 kB / 0.6241 GB, free: 7.289 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002165/0.008437, allocations: 138.5 kB / 0.6242 GB, free: 7.145 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.00844, allocations: 0 / 0.6242 GB, free: 7.145 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002673/0.008707, allocations: 192.6 kB / 0.6244 GB, free: 6.953 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.008722, allocations: 8 kB / 0.6244 GB, free: 6.945 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.008727, allocations: 4.062 kB / 0.6244 GB, free: 6.941 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.008739, allocations: 0 / 0.6244 GB, free: 6.941 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.008839, allocations: 39.95 kB / 0.6245 GB, free: 6.902 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.008846, allocations: 4 kB / 0.6245 GB, free: 6.898 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.715e-05/0.008913, allocations: 27.88 kB / 0.6245 GB, free: 6.871 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.008922, allocations: 4 kB / 0.6245 GB, free: 6.867 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.884e-05/0.009001, allocations: 126.8 kB / 0.6246 GB, free: 6.734 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.095e-05/0.009022, allocations: 19.84 kB / 0.6246 GB, free: 6.715 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.297e-05/0.009055, allocations: 25.41 kB / 0.6247 GB, free: 6.684 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.009057, allocations: 0 / 0.6247 GB, free: 6.684 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.009061, allocations: 4 kB / 0.6247 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.009065, allocations: 0 / 0.6247 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.00922, allocations: 192.7 kB / 0.6248 GB, free: 6.449 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.009221, allocations: 0 / 0.6248 GB, free: 6.449 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.1e-05/0.009312, allocations: 35.91 kB / 0.6249 GB, free: 6.414 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.009313, allocations: 0 / 0.6249 GB, free: 6.414 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.009326, allocations: 11.98 kB / 0.6249 GB, free: 6.402 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.009327, allocations: 0 / 0.6249 GB, free: 6.402 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.009328, allocations: 4 kB / 0.6249 GB, free: 6.398 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004201/0.009748, allocations: 331.2 kB / 0.6252 GB, free: 6.059 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.74e-05/0.009765, allocations: 23.75 kB / 0.6252 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.009782, allocations: 4 kB / 0.6252 GB, free: 6.031 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.361e-05/0.009856, allocations: 24.03 kB / 0.6253 GB, free: 6.008 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.009898, allocations: 11.97 kB / 0.6253 GB, free: 5.996 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.009906, allocations: 8 kB / 0.6253 GB, free: 5.988 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.983e-05/0.009966, allocations: 116.2 kB / 0.6254 GB, free: 5.875 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.009966, allocations: 0 / 0.6254 GB, free: 5.875 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001691/0.01014, allocations: 35.95 kB / 0.6254 GB, free: 5.84 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.0005796/0.01072, allocations: 0.8799 MB / 0.6263 GB, free: 4.934 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002694/0.01098, allocations: 139.8 kB / 0.6264 GB, free: 4.797 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.01099, allocations: 4.188 kB / 0.6264 GB, free: 4.793 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.0111, allocations: 67.95 kB / 0.6265 GB, free: 4.727 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.01132, allocations: 26.33 kB / 0.6265 GB, free: 4.703 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.01338, allocations: 1.951 MB / 0.6284 GB, free: 2.66 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.277e-05/0.01345, allocations: 107.6 kB / 0.6285 GB, free: 2.539 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.977e-05/0.0135, allocations: 8.484 kB / 0.6285 GB, free: 2.531 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.594e-05/0.01357, allocations: 44.48 kB / 0.6286 GB, free: 2.488 MB / 0.5886 GB Notification: Performance of SimCode: time 6.01e-07/0.01357, allocations: 0 / 0.6286 GB, free: 2.488 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01794/0.03151, allocations: 4.087 MB / 0.6326 GB, free: 14.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.166/7.198, allocations: 11.2 kB / 0.6326 GB, free: 14.57 MB / 0.6042 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating_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_Heating.fmu > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.983310869894922] Failed to read output from testmodel.py, exit status != 0: 7.276562131009996 7.286224586 7.2799709 Calling exit ...