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.0007486/0.0007486, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001191/0.001191, allocations: 209.2 kB / 22.25 MB, free: 3.586 MB / 13.93 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.9169/0.9169, allocations: 230.6 MB / 256 MB, free: 9.625 MB / 202.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.7502/0.7502, allocations: 203.8 MB / 0.5042 GB, free: 10.42 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008729/0.0008729, allocations: 63.41 kB / 0.7181 GB, free: 4.09 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5328/0.5337, allocations: 102 MB / 0.8178 GB, free: 1.059 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.002468/0.5362, allocations: 2.005 MB / 0.8197 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007897/0.537, allocations: 0.5694 MB / 0.8203 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.172e-05/0.537, allocations: 8.125 kB / 0.8203 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001218/0.5372, allocations: 21.66 kB / 0.8203 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.56e-05/0.5373, allocations: 49.42 kB / 0.8203 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002529/0.5375, allocations: 59.67 kB / 0.8204 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.5377, allocations: 186.5 kB / 0.8206 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.5378, allocations: 51.39 kB / 0.8206 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.538, allocations: 86.39 kB / 0.8207 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.5381, allocations: 72.73 kB / 0.8208 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.5381, allocations: 13.12 kB / 0.8208 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.864e-05/0.5382, allocations: 22.72 kB / 0.8208 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.467e-05/0.5382, allocations: 38.22 kB / 0.8209 GB, free: 15 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.724e-05/0.5383, allocations: 62.98 kB / 0.8209 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.5385, allocations: 183.5 kB / 0.8211 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5385, allocations: 0.6562 kB / 0.8211 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5385, allocations: 0 / 0.8211 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.5385, allocations: 0 / 0.8211 GB, free: 14.89 MB / 0.6198 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.0005507/0.539, allocations: 423.6 kB / 0.8215 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.5391, allocations: 11.41 kB / 0.8215 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.6e-05/0.5391, allocations: 52.25 kB / 0.8216 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.5392, allocations: 34.23 kB / 0.8216 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.5394, allocations: 156 kB / 0.8217 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.864e-05/0.5395, allocations: 66.83 kB / 0.8218 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.5395, allocations: 15.03 kB / 0.8218 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.5398, allocations: 164 kB / 0.822 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.5398, allocations: 0 / 0.822 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.5398, allocations: 6.125 kB / 0.822 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.371e-06/0.5398, allocations: 2.688 kB / 0.822 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002705/0.5401, allocations: 138.8 kB / 0.8221 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005979/0.5407, allocations: 425.1 kB / 0.8225 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003435/0.541, allocations: 124.2 kB / 0.8226 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.5411, allocations: 77.45 kB / 0.8227 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.5412, allocations: 1.156 kB / 0.8227 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.5412, allocations: 33.5 kB / 0.8227 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.203e-06/0.5412, allocations: 3.938 kB / 0.8227 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0004549/0.5416, allocations: 225 kB / 0.823 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.5417, allocations: 53.47 kB / 0.823 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.5418, allocations: 161 kB / 0.8232 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.5418, allocations: 31.72 kB / 0.8232 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.701e-05/0.5419, allocations: 133.2 kB / 0.8233 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.143e-05/0.5419, allocations: 37.59 kB / 0.8234 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.552e-05/0.542, allocations: 32.64 kB / 0.8234 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.017e-05/0.542, allocations: 322.5 kB / 0.8237 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.5422, allocations: 59.39 kB / 0.8237 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.5423, allocations: 87.19 kB / 0.8238 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/0.5425, allocations: 148 kB / 0.824 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.5425, allocations: 0 / 0.824 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002957/0.5428, allocations: 193.6 kB / 0.8242 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.5429, allocations: 6.125 kB / 0.8242 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.5429, allocations: 1.062 kB / 0.8242 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.5429, allocations: 2.25 kB / 0.8242 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.543, allocations: 39.45 kB / 0.8242 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.543, allocations: 6.219 kB / 0.8242 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.245e-05/0.5431, allocations: 30.03 kB / 0.8242 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.5431, allocations: 4.922 kB / 0.8242 GB, free: 12.68 MB / 0.6198 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 8.2e-05/0.5432, allocations: 129.1 kB / 0.8244 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.5432, allocations: 18.91 kB / 0.8244 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.118e-05/0.5432, allocations: 21.92 kB / 0.8244 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.5432, allocations: 2.281 kB / 0.8244 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.5432, allocations: 0 / 0.8244 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.5432, allocations: 4.562 kB / 0.8244 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.5434, allocations: 199.4 kB / 0.8246 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.5434, allocations: 1.438 kB / 0.8246 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.5435, allocations: 36.17 kB / 0.8246 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.5435, allocations: 1.406 kB / 0.8246 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.5435, allocations: 4.562 kB / 0.8246 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.5435, allocations: 2.234 kB / 0.8246 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5435, allocations: 0 / 0.8246 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004576/0.544, allocations: 342.5 kB / 0.825 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.59e-05/0.544, allocations: 12.09 kB / 0.825 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.544, allocations: 6.141 kB / 0.825 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.795e-05/0.5441, allocations: 17.69 kB / 0.825 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.822e-05/0.5442, allocations: 15.16 kB / 0.825 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.5442, allocations: 11.38 kB / 0.825 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.308e-05/0.5442, allocations: 119.8 kB / 0.8251 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.5442, allocations: 1.25 kB / 0.8251 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001708/0.5444, allocations: 32.41 kB / 0.8252 GB, free: 12 MB / 0.6198 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.0006086/0.545, allocations: 0.8715 MB / 0.826 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002854/0.5453, allocations: 145.6 kB / 0.8262 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.5453, allocations: 0 / 0.8262 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.5454, allocations: 71.38 kB / 0.8262 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.5456, allocations: 18.75 kB / 0.8263 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.5478, allocations: 2.001 MB / 0.8282 GB, free: 9.715 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.5479, allocations: 107.3 kB / 0.8283 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.798e-05/0.5479, allocations: 13.31 kB / 0.8283 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.749e-05/0.548, allocations: 42.84 kB / 0.8284 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of SimCode: time 4.41e-07/0.548, allocations: 0 / 0.8284 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01847/0.5665, allocations: 3.947 MB / 0.8322 GB, free: 8.586 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.93/7.496, allocations: 10.69 kB / 0.8322 GB, free: 8.582 MB / 0.6198 GB " [Timeout remaining time 652] (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: 10.37141837226227] Failed to read output from testmodel.py, exit status != 0: 7.577623761724681 7.591554037 7.050625577 Calling exit ...