Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.0008054/0.0008054, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009971/0.0009971, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8764/0.8764, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.7288/0.7288, allocations: 154.6 MB / 413.8 MB, free: 0.8086 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.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.456e-05/2.734e-05, allocations: 5.578 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002104/0.002132, allocations: 0.6901 MB / 0.6188 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.003282, allocations: 0.8626 MB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.452e-05/0.003327, allocations: 0 / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.221e-05/0.003359, allocations: 3.938 kB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.051e-05/0.00344, allocations: 7.922 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001614/0.003601, allocations: 19.98 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.835e-05/0.003699, allocations: 51.84 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.003821, allocations: 8 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.003925, allocations: 27.95 kB / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.549e-05/0.00399, allocations: 19.92 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.341e-05/0.004024, allocations: 4 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.022e-05/0.004034, allocations: 4 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.351e-05/0.004057, allocations: 11.97 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.745e-05/0.004085, allocations: 15.94 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.004202, allocations: 55.78 kB / 0.6198 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.004205, allocations: 4 kB / 0.6198 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.442e-06/0.004207, allocations: 0 / 0.6198 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.004211, allocations: 0 / 0.6198 GB, free: 11.85 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005017/0.004713, allocations: 284.4 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.004758, allocations: 8.031 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.21e-05/0.0048, allocations: 38.73 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.004835, allocations: 4.891 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.00496, allocations: 109.7 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.004978, allocations: 4.375 kB / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.00499, allocations: 4.375 kB / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.005186, allocations: 73.97 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.005196, allocations: 0 / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.005207, allocations: 0 / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.005214, allocations: 0 / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001656/0.005379, allocations: 59.81 kB / 0.6204 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004304/0.00581, allocations: 251.9 kB / 0.6206 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.006026, allocations: 66.53 kB / 0.6207 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.198e-05/0.006098, allocations: 32.92 kB / 0.6207 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.006115, allocations: 3.938 kB / 0.6207 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.006134, allocations: 30.56 kB / 0.6208 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 2.434e-06/0.006137, allocations: 3.984 kB / 0.6208 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0002534/0.00639, allocations: 109.6 kB / 0.6209 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.006422, allocations: 51.41 kB / 0.6209 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.781e-05/0.00649, allocations: 113.8 kB / 0.621 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.006502, allocations: 29.7 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.131e-05/0.006543, allocations: 84.14 kB / 0.6212 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.542e-05/0.006558, allocations: 7.953 kB / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/0.006591, allocations: 21.7 kB / 0.6212 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.718e-05/0.006669, allocations: 318.8 kB / 0.6215 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.458e-05/0.006723, allocations: 23.97 kB / 0.6215 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.743e-05/0.006771, allocations: 27.92 kB / 0.6215 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.006873, allocations: 52.81 kB / 0.6216 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.006875, allocations: 0 / 0.6216 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001341/0.007009, allocations: 89.59 kB / 0.6217 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.007022, allocations: 4 kB / 0.6217 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.007027, allocations: 0 / 0.6217 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.00704, allocations: 3.938 kB / 0.6217 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.6e-05/0.007126, allocations: 11.98 kB / 0.6217 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.007131, allocations: 0 / 0.6217 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.047e-05/0.007171, allocations: 19.92 kB / 0.6217 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.007177, allocations: 3.938 kB / 0.6217 GB, free: 9.75 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intLesEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.683e-05/0.007244, allocations: 118.8 kB / 0.6218 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.007258, allocations: 3.953 kB / 0.6218 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.991e-05/0.007278, allocations: 4 kB / 0.6218 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.007281, allocations: 4 kB / 0.6218 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.007287, allocations: 3.984 kB / 0.6218 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.00729, allocations: 0 / 0.6218 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.007411, allocations: 136.7 kB / 0.622 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.007412, allocations: 0 / 0.622 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.98e-05/0.007452, allocations: 15.98 kB / 0.622 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.007455, allocations: 8 kB / 0.622 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.007464, allocations: 4 kB / 0.622 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.007465, allocations: 0 / 0.622 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.007466, allocations: 0 / 0.622 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.007631, allocations: 179.4 kB / 0.6222 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.769e-06/0.007641, allocations: 7.953 kB / 0.6222 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.007662, allocations: 11.92 kB / 0.6222 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.544e-05/0.007707, allocations: 4 kB / 0.6222 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.804e-05/0.007755, allocations: 15.98 kB / 0.6222 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.007761, allocations: 4.359 kB / 0.6222 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.952e-05/0.00779, allocations: 83.28 kB / 0.6223 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.00779, allocations: 0 / 0.6223 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001475/0.007938, allocations: 12 kB / 0.6223 GB, free: 9.074 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intLesEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.000347/0.008285, allocations: 0.7124 MB / 0.623 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001484/0.008433, allocations: 59.89 kB / 0.6231 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.008435, allocations: 0 / 0.6231 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.766e-05/0.008492, allocations: 31.97 kB / 0.6231 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.008718, allocations: 4 kB / 0.6231 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.009825, allocations: 1.331 MB / 0.6244 GB, free: 6.828 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.309e-05/0.009878, allocations: 63.34 kB / 0.6244 GB, free: 6.746 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.598e-05/0.009914, allocations: 7.984 kB / 0.6245 GB, free: 6.738 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.713e-05/0.009961, allocations: 16.5 kB / 0.6245 GB, free: 6.723 MB / 0.5886 GB Notification: Performance of SimCode: time 5.01e-07/0.009962, allocations: 0 / 0.6245 GB, free: 6.723 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01528/0.02524, allocations: 2.55 MB / 0.627 GB, free: 4.324 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.605/6.63, allocations: 14.2 kB / 0.627 GB, free: 4.32 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.265918095596135] Failed to read output from testmodel.py, exit status != 0: 6.710624776780605 6.720438315 6.714512775 Calling exit ...