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.001079/0.001079, 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.001007/0.001007, allocations: 207.1 kB / 22.24 MB, free: 3.582 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.9374/0.9374, allocations: 230.6 MB / 256 MB, free: 9.605 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.74/0.74, allocations: 203.8 MB / 0.5042 GB, free: 10.49 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.0008163/0.0008163, allocations: 70.97 kB / 0.7181 GB, free: 4.102 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5474/0.5482, allocations: 102 MB / 0.8178 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.002594/0.5508, allocations: 1.998 MB / 0.8197 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008558/0.5516, allocations: 0.5661 MB / 0.8203 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.5517, allocations: 3.125 kB / 0.8203 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001252/0.5518, allocations: 22.64 kB / 0.8203 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.355e-05/0.5519, allocations: 47.97 kB / 0.8203 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.5522, allocations: 62.75 kB / 0.8204 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000211/0.5524, allocations: 188.3 kB / 0.8206 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.5526, allocations: 51.72 kB / 0.8206 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001783/0.5528, allocations: 86.25 kB / 0.8207 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.5529, allocations: 72.73 kB / 0.8208 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.5529, allocations: 17.84 kB / 0.8208 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.043e-05/0.553, allocations: 18.55 kB / 0.8208 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.348e-05/0.553, allocations: 38.55 kB / 0.8208 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.551e-05/0.5531, allocations: 62.5 kB / 0.8209 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.5533, allocations: 183.8 kB / 0.8211 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.5533, allocations: 0.6562 kB / 0.8211 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.924e-06/0.5533, allocations: 0 / 0.8211 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.5533, allocations: 0 / 0.8211 GB, free: 14.88 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.0005956/0.5539, allocations: 423 kB / 0.8215 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.5539, allocations: 9.25 kB / 0.8215 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.268e-05/0.554, allocations: 50.09 kB / 0.8215 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.5541, allocations: 31.64 kB / 0.8216 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.5544, allocations: 165.6 kB / 0.8217 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.959e-05/0.5544, allocations: 66.34 kB / 0.8218 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.5545, allocations: 11.34 kB / 0.8218 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002661/0.5547, allocations: 171 kB / 0.822 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.5547, allocations: 0 / 0.822 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.5548, allocations: 4.609 kB / 0.822 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.5548, allocations: 3.156 kB / 0.822 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002944/0.5551, allocations: 138.7 kB / 0.8221 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005972/0.5557, allocations: 419.9 kB / 0.8225 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003282/0.556, allocations: 130.7 kB / 0.8226 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.5561, allocations: 76.81 kB / 0.8227 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.5561, allocations: 3.625 kB / 0.8227 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.5561, allocations: 30.56 kB / 0.8227 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.183e-06/0.5561, allocations: 7.875 kB / 0.8227 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.000432/0.5566, allocations: 223.6 kB / 0.823 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.5566, allocations: 54.02 kB / 0.823 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.5567, allocations: 161.4 kB / 0.8232 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.5567, allocations: 26.83 kB / 0.8232 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.107e-05/0.5568, allocations: 134.8 kB / 0.8233 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.5568, allocations: 35.53 kB / 0.8234 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.455e-05/0.5569, allocations: 34.19 kB / 0.8234 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.81e-05/0.557, allocations: 322.7 kB / 0.8237 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.5571, allocations: 58.05 kB / 0.8237 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.5573, allocations: 89.59 kB / 0.8238 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002418/0.5575, allocations: 144.7 kB / 0.824 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.5575, allocations: 0 / 0.824 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002942/0.5578, allocations: 198.4 kB / 0.8242 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.5578, allocations: 4.875 kB / 0.8242 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.5578, allocations: 1.281 kB / 0.8242 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.5578, allocations: 1.688 kB / 0.8242 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.558, allocations: 44.64 kB / 0.8242 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.558, allocations: 1.312 kB / 0.8242 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.655e-05/0.558, allocations: 34.92 kB / 0.8242 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.558, allocations: 3.375 kB / 0.8242 GB, free: 12.66 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.123e-05/0.5581, allocations: 125.7 kB / 0.8244 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.084e-05/0.5581, allocations: 14 kB / 0.8244 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.513e-05/0.5582, allocations: 22.59 kB / 0.8244 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.5582, allocations: 1.219 kB / 0.8244 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.5582, allocations: 2.188 kB / 0.8244 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5582, allocations: 4.562 kB / 0.8244 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/0.5584, allocations: 199.1 kB / 0.8246 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.5584, allocations: 0 / 0.8246 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.5585, allocations: 36.09 kB / 0.8246 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.5585, allocations: 1.922 kB / 0.8246 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.5585, allocations: 6.188 kB / 0.8246 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.5585, allocations: 0 / 0.8246 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5585, allocations: 1.219 kB / 0.8246 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004908/0.559, allocations: 342.4 kB / 0.825 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.837e-05/0.559, allocations: 12.38 kB / 0.825 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.559, allocations: 5.422 kB / 0.825 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.291e-05/0.5591, allocations: 16.58 kB / 0.825 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.576e-05/0.5592, allocations: 16.22 kB / 0.825 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.5592, allocations: 7.328 kB / 0.825 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.147e-05/0.5593, allocations: 120.5 kB / 0.8251 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5593, allocations: 0 / 0.8251 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001916/0.5595, allocations: 40.22 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.0006773/0.5602, allocations: 0.8758 MB / 0.826 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003038/0.5605, allocations: 140.8 kB / 0.8262 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5605, allocations: 0 / 0.8262 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.5606, allocations: 76.22 kB / 0.8262 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.5609, allocations: 13.5 kB / 0.8263 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.5629, allocations: 1.993 MB / 0.8282 GB, free: 9.711 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.194e-05/0.563, allocations: 104 kB / 0.8283 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.744e-05/0.563, allocations: 16.23 kB / 0.8283 GB, free: 9.629 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.909e-05/0.5631, allocations: 42.81 kB / 0.8284 GB, free: 9.598 MB / 0.6198 GB Notification: Performance of SimCode: time 7.61e-07/0.5631, allocations: 0 / 0.8284 GB, free: 9.598 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02053/0.5836, allocations: 3.952 MB / 0.8322 GB, free: 8.582 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.476/7.06, allocations: 9.484 kB / 0.8322 GB, free: 8.574 MB / 0.6198 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Heating_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 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.896366700064391] Failed to read output from testmodel.py, exit status != 0: 7.139410590752959 7.154368781 6.598667539 Calling exit ...