Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001027/0.001027, allocations: 68.47 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.00105/0.00105, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.8515/0.8515, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6942/0.6942, allocations: 154.6 MB / 413.8 MB, free: 0.7891 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Heating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,fileNamePrefix="IDEAS_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Heating",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 3.938 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.143e-05/2.392e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.002391/0.002415, allocations: 1.989 MB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.003495, allocations: 0.5648 MB / 0.6206 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.667e-05/0.003592, allocations: 4 kB / 0.6206 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001169/0.003708, allocations: 23.72 kB / 0.6206 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.573e-05/0.003794, allocations: 47.52 kB / 0.6206 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.004073, allocations: 67.84 kB / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.004261, allocations: 195.1 kB / 0.6209 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.004415, allocations: 50.5 kB / 0.6209 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001934/0.004609, allocations: 115.7 kB / 0.621 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.934e-05/0.004708, allocations: 59.8 kB / 0.6211 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.004733, allocations: 12 kB / 0.6211 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.751e-05/0.00479, allocations: 20 kB / 0.6211 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.099e-05/0.004821, allocations: 43.83 kB / 0.6212 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.828e-05/0.00487, allocations: 51.91 kB / 0.6212 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.005068, allocations: 179.4 kB / 0.6214 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.654e-06/0.005069, allocations: 0 / 0.6214 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.42e-07/0.00507, allocations: 3.938 kB / 0.6214 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.005074, allocations: 0 / 0.6214 GB, free: 10.26 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.0005414/0.005616, allocations: 417.5 kB / 0.6218 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.005656, allocations: 12.03 kB / 0.6218 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.875e-05/0.005695, allocations: 54.72 kB / 0.6219 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.005798, allocations: 36.78 kB / 0.6219 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.006007, allocations: 157.4 kB / 0.622 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.351e-05/0.00608, allocations: 63.97 kB / 0.6221 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.953e-05/0.00611, allocations: 12.38 kB / 0.6221 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.006367, allocations: 158.1 kB / 0.6223 GB, free: 9.285 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.006378, allocations: 4.188 kB / 0.6223 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.006392, allocations: 7.938 kB / 0.6223 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.006399, allocations: 7.938 kB / 0.6223 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002588/0.006657, allocations: 139.9 kB / 0.6224 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005817/0.007239, allocations: 427.4 kB / 0.6228 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002902/0.007529, allocations: 130.6 kB / 0.623 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.007661, allocations: 72.81 kB / 0.623 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.007681, allocations: 7.938 kB / 0.623 GB, free: 8.449 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.007704, allocations: 38.55 kB / 0.6231 GB, free: 8.402 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=12): time 1.243e-06/0.007705, allocations: 0 / 0.6231 GB, free: 8.402 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12): time 0.0004195/0.008125, allocations: 221 kB / 0.6233 GB, free: 8.184 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.008152, allocations: 55.34 kB / 0.6233 GB, free: 8.117 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.336e-05/0.008245, allocations: 161.4 kB / 0.6235 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.008261, allocations: 33.7 kB / 0.6235 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.861e-05/0.00832, allocations: 124.3 kB / 0.6236 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.008348, allocations: 43.58 kB / 0.6237 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.008387, allocations: 29.7 kB / 0.6237 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.799e-05/0.008465, allocations: 326.8 kB / 0.624 GB, free: 7.375 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.008567, allocations: 55.95 kB / 0.6241 GB, free: 7.32 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.008684, allocations: 90.52 kB / 0.6242 GB, free: 7.223 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/0.008891, allocations: 142.4 kB / 0.6243 GB, free: 7.074 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.008893, allocations: 0 / 0.6243 GB, free: 7.074 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002676/0.009161, allocations: 192.3 kB / 0.6245 GB, free: 6.883 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.009174, allocations: 4 kB / 0.6245 GB, free: 6.879 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.009179, allocations: 0 / 0.6245 GB, free: 6.879 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.009192, allocations: 7.938 kB / 0.6245 GB, free: 6.871 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.009295, allocations: 35.97 kB / 0.6245 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.009301, allocations: 0 / 0.6245 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.69e-05/0.009368, allocations: 35.92 kB / 0.6246 GB, free: 6.801 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.009378, allocations: 4 kB / 0.6246 GB, free: 6.797 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.132e-05/0.009459, allocations: 126.8 kB / 0.6247 GB, free: 6.664 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/0.009482, allocations: 15.84 kB / 0.6247 GB, free: 6.648 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.37e-05/0.009515, allocations: 21.45 kB / 0.6247 GB, free: 6.625 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.009518, allocations: 4 kB / 0.6247 GB, free: 6.621 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002513/0.009769, allocations: 0 / 0.6247 GB, free: 6.621 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.009773, allocations: 0 / 0.6247 GB, free: 6.621 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001779/0.009951, allocations: 192.7 kB / 0.6249 GB, free: 6.391 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.009954, allocations: 12 kB / 0.6249 GB, free: 6.379 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.601e-05/0.01005, allocations: 35.91 kB / 0.6249 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.01005, allocations: 0 / 0.6249 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.01006, allocations: 0 / 0.6249 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.01006, allocations: 0 / 0.6249 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.01007, allocations: 3.938 kB / 0.625 GB, free: 6.34 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004226/0.01049, allocations: 347.2 kB / 0.6253 GB, free: 5.984 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.672e-05/0.01052, allocations: 19.81 kB / 0.6253 GB, free: 5.965 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.01053, allocations: 0 / 0.6253 GB, free: 5.965 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.245e-05/0.0106, allocations: 23.97 kB / 0.6253 GB, free: 5.941 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.01065, allocations: 15.91 kB / 0.6253 GB, free: 5.926 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.01066, allocations: 11.98 kB / 0.6254 GB, free: 5.914 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.381e-05/0.01073, allocations: 112.2 kB / 0.6255 GB, free: 5.805 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.8e-07/0.01073, allocations: 4.062 kB / 0.6255 GB, free: 5.801 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001818/0.01092, allocations: 35.95 kB / 0.6255 GB, free: 5.766 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.000604/0.01152, allocations: 0.8728 MB / 0.6263 GB, free: 4.863 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002576/0.01178, allocations: 139.9 kB / 0.6265 GB, free: 4.727 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01178, allocations: 0 / 0.6265 GB, free: 4.727 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.01189, allocations: 71.88 kB / 0.6266 GB, free: 4.656 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.01211, allocations: 20.12 kB / 0.6266 GB, free: 4.637 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001694/0.01381, allocations: 1.937 MB / 0.6285 GB, free: 2.605 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.127e-05/0.01388, allocations: 107.6 kB / 0.6286 GB, free: 2.48 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.483e-05/0.01392, allocations: 12.48 kB / 0.6286 GB, free: 2.469 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.556e-05/0.01399, allocations: 44.48 kB / 0.6286 GB, free: 2.426 MB / 0.5886 GB Notification: Performance of SimCode: time 4.41e-07/0.01399, allocations: 0 / 0.6286 GB, free: 2.426 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01648/0.03047, allocations: 4.106 MB / 0.6326 GB, free: 14.51 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.715/6.746, allocations: 10.11 kB / 0.6326 GB, free: 14.5 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Heating_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Heating.fmu > IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.378489898517728] Failed to read output from testmodel.py, exit status != 0: 6.826817378401756 6.835074177 6.828346619 Calling exit ...