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.0007716/0.0007716, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0009947/0.0009947, allocations: 208.1 kB / 22.25 MB, free: 3.574 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 1.007/1.007, allocations: 230.6 MB / 256 MB, free: 9.613 MB / 202.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.8141/0.8141, allocations: 203.5 MB / 0.5039 GB, free: 10.71 MB / 410.7 MB " [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: 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.001008/0.001008, allocations: 64.75 kB / 0.7178 GB, free: 4.422 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6377/0.6387, allocations: 102 MB / 0.8174 GB, free: 1.234 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001924/0.6406, allocations: 0.6836 MB / 0.8181 GB, free: 0.8125 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.6417, allocations: 0.8546 MB / 0.8189 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.383e-05/0.6417, allocations: 3.688 kB / 0.8189 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.783e-05/0.6418, allocations: 7.938 kB / 0.8189 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.372e-05/0.6419, allocations: 11.88 kB / 0.8189 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002067/0.6421, allocations: 25.61 kB / 0.8189 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.6422, allocations: 44.64 kB / 0.819 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.6423, allocations: 10.72 kB / 0.819 GB, free: 120 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.111e-05/0.6424, allocations: 22.19 kB / 0.819 GB, free: 108 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.998e-05/0.6425, allocations: 20.88 kB / 0.819 GB, free: 100 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.6425, allocations: 7.922 kB / 0.819 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.439e-05/0.6425, allocations: 5.844 kB / 0.819 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.956e-05/0.6426, allocations: 5.875 kB / 0.8191 GB, free: 92 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.796e-05/0.6426, allocations: 22.56 kB / 0.8191 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.6428, allocations: 51.67 kB / 0.8191 GB, free: 56 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.6428, allocations: 0 / 0.8191 GB, free: 56 kB / 0.6042 GB Notification: Performance of FrontEnd: time 3.486e-06/0.6428, allocations: 1.75 kB / 0.8191 GB, free: 56 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.918e-06/0.6428, allocations: 0 / 0.8191 GB, free: 56 kB / 0.6042 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.0006334/0.6434, allocations: 283.3 kB / 0.8194 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.255e-05/0.6435, allocations: 13.19 kB / 0.8194 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.814e-05/0.6435, allocations: 33.91 kB / 0.8194 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.6436, allocations: 1.688 kB / 0.8194 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.6437, allocations: 116.9 kB / 0.8196 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.6438, allocations: 9.344 kB / 0.8196 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.6438, allocations: 7.094 kB / 0.8196 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.644, allocations: 63.64 kB / 0.8196 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.644, allocations: 0 / 0.8196 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.644, allocations: 1.938 kB / 0.8196 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.644, allocations: 0 / 0.8196 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.6441, allocations: 52.53 kB / 0.8197 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004222/0.6446, allocations: 267.6 kB / 0.8199 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.6447, allocations: 61.11 kB / 0.82 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.466e-05/0.6448, allocations: 29.72 kB / 0.82 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.6448, allocations: 0 / 0.82 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.6448, allocations: 32.64 kB / 0.8201 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 2.204e-06/0.6448, allocations: 3.984 kB / 0.8201 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002886/0.6451, allocations: 108.4 kB / 0.8202 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.6452, allocations: 57.88 kB / 0.8202 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.254e-05/0.6452, allocations: 111.2 kB / 0.8203 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.6453, allocations: 25.7 kB / 0.8203 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.405e-05/0.6453, allocations: 92.94 kB / 0.8204 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.6453, allocations: 9.438 kB / 0.8204 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/0.6454, allocations: 15.23 kB / 0.8205 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.228e-05/0.6455, allocations: 323.6 kB / 0.8208 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.347e-05/0.6455, allocations: 23.03 kB / 0.8208 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.099e-05/0.6456, allocations: 22.98 kB / 0.8208 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.6457, allocations: 59.25 kB / 0.8209 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6457, allocations: 0 / 0.8209 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001647/0.6459, allocations: 86.64 kB / 0.8209 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.6459, allocations: 3.531 kB / 0.821 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.6459, allocations: 2.438 kB / 0.821 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.6459, allocations: 0.8438 kB / 0.821 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.646, allocations: 15.47 kB / 0.821 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.646, allocations: 0 / 0.821 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.896e-05/0.6461, allocations: 7.297 kB / 0.821 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.6461, allocations: 5.656 kB / 0.821 GB, free: 14.41 MB / 0.6198 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 9.007e-05/0.6462, allocations: 113.8 kB / 0.8211 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.638e-05/0.6462, allocations: 1.891 kB / 0.8211 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.424e-05/0.6462, allocations: 9.703 kB / 0.8211 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.6462, allocations: 1.25 kB / 0.8211 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.6462, allocations: 0.5156 kB / 0.8211 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.6462, allocations: 5.094 kB / 0.8211 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.6464, allocations: 145.4 kB / 0.8212 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.6464, allocations: 8.812 kB / 0.8213 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.583e-05/0.6465, allocations: 14.05 kB / 0.8213 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.6465, allocations: 3.5 kB / 0.8213 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.6465, allocations: 0.6562 kB / 0.8213 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.6465, allocations: 0.5156 kB / 0.8213 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.6465, allocations: 0 / 0.8213 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.6468, allocations: 185.8 kB / 0.8215 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.96e-05/0.6468, allocations: 4.547 kB / 0.8215 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.6468, allocations: 8.094 kB / 0.8215 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.217e-05/0.6468, allocations: 6.375 kB / 0.8215 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.904e-05/0.6469, allocations: 10.56 kB / 0.8215 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.6469, allocations: 1.578 kB / 0.8215 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.299e-05/0.647, allocations: 93.16 kB / 0.8216 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.647, allocations: 0 / 0.8216 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001632/0.6471, allocations: 9.734 kB / 0.8216 GB, free: 13.85 MB / 0.6198 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.0005322/0.6477, allocations: 0.7192 MB / 0.8223 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002293/0.6479, allocations: 53.22 kB / 0.8223 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.6479, allocations: 0 / 0.8223 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.768e-05/0.648, allocations: 35.17 kB / 0.8224 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.6483, allocations: 6.766 kB / 0.8224 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.6497, allocations: 1.33 MB / 0.8237 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.787e-05/0.6498, allocations: 65.25 kB / 0.8237 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.958e-05/0.6498, allocations: 2.984 kB / 0.8237 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.853e-05/0.6499, allocations: 24.92 kB / 0.8238 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of SimCode: time 1.222e-06/0.6499, allocations: 0 / 0.8238 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02367/0.6736, allocations: 2.423 MB / 0.8261 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.615/8.288, allocations: 5.609 kB / 0.8261 GB, free: 10.96 MB / 0.6198 GB " [Timeout remaining time 652] (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: 11.460144565906376] Failed to read output from testmodel.py, exit status != 0: 8.369271596893668 8.385882272 7.73947776 Calling exit ...