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.0009015/0.0009015, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.0008605/0.0008605, allocations: 165.9 kB / 22.46 MB, free: 2.098 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.9223/0.9223, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7284/0.7284, allocations: 154.5 MB / 413.7 MB, free: 0.8242 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 2.715e-06/2.715e-06, allocations: 0 / 0.618 GB, free: 13.78 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.172e-05/2.444e-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_Cooling): time 0.002646/0.00267, allocations: 2.002 MB / 0.62 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.003718, allocations: 0.5648 MB / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001691/0.003887, allocations: 4 kB / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001411/0.004029, allocations: 19.73 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.004137, allocations: 55.5 kB / 0.6206 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003421/0.004479, allocations: 67.84 kB / 0.6207 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.004684, allocations: 187.2 kB / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.004853, allocations: 46.52 kB / 0.6209 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002174/0.005071, allocations: 111.7 kB / 0.621 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.792e-05/0.005168, allocations: 63.8 kB / 0.621 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.737e-05/0.005196, allocations: 16 kB / 0.6211 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.487e-05/0.005251, allocations: 19.98 kB / 0.6211 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.906e-05/0.00528, allocations: 39.84 kB / 0.6211 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.907e-05/0.005329, allocations: 51.91 kB / 0.6212 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.005536, allocations: 187.3 kB / 0.6213 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.005538, allocations: 0 / 0.6213 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.42e-07/0.005539, allocations: 0 / 0.6213 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.005545, allocations: 0 / 0.6213 GB, free: 10.33 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.0005896/0.006135, allocations: 417.5 kB / 0.6217 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.00618, allocations: 13.47 kB / 0.6218 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.819e-05/0.006228, allocations: 46.73 kB / 0.6218 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000124/0.006352, allocations: 28.8 kB / 0.6218 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.006593, allocations: 160.9 kB / 0.622 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.44e-05/0.006677, allocations: 63.97 kB / 0.622 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.006708, allocations: 12.38 kB / 0.6221 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002861/0.006994, allocations: 162.1 kB / 0.6222 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.007008, allocations: 4.188 kB / 0.6222 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.007024, allocations: 7.938 kB / 0.6222 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.007033, allocations: 4 kB / 0.6222 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002708/0.007304, allocations: 139.8 kB / 0.6224 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006701/0.007974, allocations: 435.4 kB / 0.6228 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003172/0.008291, allocations: 126.6 kB / 0.6229 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.008411, allocations: 72.8 kB / 0.623 GB, free: 8.539 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.008435, allocations: 11.94 kB / 0.623 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.008457, allocations: 34.56 kB / 0.623 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=12): time 1.573e-06/0.008458, allocations: 0 / 0.623 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12): time 0.0004491/0.008907, allocations: 217.4 kB / 0.6232 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.008942, allocations: 51.41 kB / 0.6233 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.00905, allocations: 165.4 kB / 0.6234 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.009065, allocations: 25.7 kB / 0.6234 GB, free: 8 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.255e-05/0.009138, allocations: 132.2 kB / 0.6236 GB, free: 7.863 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.00917, allocations: 47.58 kB / 0.6236 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/0.009214, allocations: 25.72 kB / 0.6236 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.622e-05/0.00931, allocations: 322.8 kB / 0.6239 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.009425, allocations: 67.94 kB / 0.624 GB, free: 7.395 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.009548, allocations: 82.52 kB / 0.6241 GB, free: 7.305 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002238/0.009772, allocations: 138.5 kB / 0.6242 GB, free: 7.16 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.009774, allocations: 3.938 kB / 0.6242 GB, free: 7.156 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002685/0.01004, allocations: 188.8 kB / 0.6244 GB, free: 6.969 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.01006, allocations: 4 kB / 0.6244 GB, free: 6.965 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.01006, allocations: 7.984 kB / 0.6244 GB, free: 6.957 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.01008, allocations: 0 / 0.6244 GB, free: 6.957 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.01018, allocations: 39.97 kB / 0.6245 GB, free: 6.918 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.01018, allocations: 0 / 0.6245 GB, free: 6.918 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.502e-05/0.01025, allocations: 27.94 kB / 0.6245 GB, free: 6.891 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.01026, allocations: 8 kB / 0.6245 GB, free: 6.883 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 8.425e-05/0.01034, allocations: 130.8 kB / 0.6246 GB, free: 6.746 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/0.01036, allocations: 19.84 kB / 0.6246 GB, free: 6.727 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.658e-05/0.0104, allocations: 25.39 kB / 0.6247 GB, free: 6.695 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.0104, allocations: 4 kB / 0.6247 GB, free: 6.691 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.01041, allocations: 0 / 0.6247 GB, free: 6.691 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.01041, allocations: 0 / 0.6247 GB, free: 6.691 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.01058, allocations: 196.7 kB / 0.6249 GB, free: 6.457 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.01058, allocations: 4 kB / 0.6249 GB, free: 6.453 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002544/0.01084, allocations: 35.91 kB / 0.6249 GB, free: 6.418 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.01084, allocations: 3.984 kB / 0.6249 GB, free: 6.414 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.01085, allocations: 0 / 0.6249 GB, free: 6.414 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.01085, allocations: 4 kB / 0.6249 GB, free: 6.41 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01086, allocations: 0 / 0.6249 GB, free: 6.41 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004243/0.01128, allocations: 338.1 kB / 0.6252 GB, free: 6.066 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.0113, allocations: 23.75 kB / 0.6252 GB, free: 6.043 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.01132, allocations: 4 kB / 0.6252 GB, free: 6.039 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.449e-05/0.01139, allocations: 19.97 kB / 0.6253 GB, free: 6.02 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.671e-05/0.01144, allocations: 19.91 kB / 0.6253 GB, free: 6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.01145, allocations: 4 kB / 0.6253 GB, free: 5.996 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.438e-05/0.0115, allocations: 120.2 kB / 0.6254 GB, free: 5.879 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.0115, allocations: 4.062 kB / 0.6254 GB, free: 5.875 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001814/0.01168, 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.0006058/0.01229, allocations: 0.8651 MB / 0.6263 GB, free: 4.945 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002896/0.01258, allocations: 147.8 kB / 0.6264 GB, free: 4.801 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.01258, allocations: 0 / 0.6264 GB, free: 4.801 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.0127, allocations: 71.89 kB / 0.6265 GB, free: 4.73 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.01294, allocations: 16.11 kB / 0.6265 GB, free: 4.715 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.01475, allocations: 1.947 MB / 0.6284 GB, free: 2.676 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.045e-05/0.01482, allocations: 107.6 kB / 0.6285 GB, free: 2.555 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.004e-05/0.01487, allocations: 16.47 kB / 0.6285 GB, free: 2.539 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.89e-05/0.01494, allocations: 48.48 kB / 0.6286 GB, free: 2.492 MB / 0.5886 GB Notification: Performance of SimCode: time 8.22e-07/0.01494, allocations: 0 / 0.6286 GB, free: 2.492 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01951/0.03445, allocations: 4.093 MB / 0.6326 GB, free: 14.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.209/7.244, allocations: 7.391 kB / 0.6326 GB, free: 14.57 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Cooling_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 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.09009716566652] Failed to read output from testmodel.py, exit status != 0: 7.328380667604506 7.338197795 7.330730006 Calling exit ...