Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Less.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.0008249/0.0008249, allocations: 101.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.0008662/0.0008662, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.9581/0.9581, allocations: 230.6 MB / 256 MB, free: 9.582 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.7925/0.7925, allocations: 203.5 MB / 0.5039 GB, free: 10.67 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.Reals.Validation.Less,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Less,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Less",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.001446/0.001446, allocations: 70.48 kB / 0.7178 GB, free: 4.336 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5683/0.5697, allocations: 102 MB / 0.8174 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Less): time 0.001683/0.5714, allocations: 0.821 MB / 0.8182 GB, free: 0.7109 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.5725, allocations: 0.9249 MB / 0.8191 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.463e-05/0.5726, allocations: 2.625 kB / 0.8191 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001483/0.5727, allocations: 17.31 kB / 0.8191 GB, free: 8 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.588e-05/0.5728, allocations: 13.56 kB / 0.8192 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002317/0.573, allocations: 45.81 kB / 0.8192 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.5731, allocations: 97.62 kB / 0.8193 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.5733, allocations: 34.88 kB / 0.8193 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001588/0.5734, allocations: 47.75 kB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.426e-05/0.5735, allocations: 36.41 kB / 0.8194 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.5735, allocations: 13.5 kB / 0.8194 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.424e-05/0.5735, allocations: 8.531 kB / 0.8194 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.425e-05/0.5736, allocations: 25.52 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.574e-05/0.5736, allocations: 28.73 kB / 0.8195 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.5738, allocations: 106.6 kB / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.5738, allocations: 0 / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.837e-06/0.5738, allocations: 1.062 kB / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.5738, allocations: 0 / 0.8196 GB, free: 15.78 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005288/0.5743, allocations: 341.9 kB / 0.8199 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.5744, allocations: 8.438 kB / 0.8199 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.697e-05/0.5744, allocations: 37.95 kB / 0.82 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/0.5746, allocations: 21.38 kB / 0.82 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.5749, allocations: 146.5 kB / 0.8201 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.5749, allocations: 5.531 kB / 0.8201 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.5749, allocations: 5.812 kB / 0.8201 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.5751, allocations: 102.7 kB / 0.8202 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.5751, allocations: 3.938 kB / 0.8202 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.5751, allocations: 6.75 kB / 0.8202 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.5751, allocations: 0 / 0.8202 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.5753, allocations: 67.5 kB / 0.8203 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005136/0.5758, allocations: 303.6 kB / 0.8206 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.576, allocations: 68.45 kB / 0.8207 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.542e-05/0.5761, allocations: 35.66 kB / 0.8207 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.5761, allocations: 3.938 kB / 0.8207 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.5761, allocations: 35.25 kB / 0.8207 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.503e-06/0.5761, allocations: 0 / 0.8207 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0003098/0.5764, allocations: 118.7 kB / 0.8208 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.5765, allocations: 52.11 kB / 0.8209 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.5766, allocations: 146.5 kB / 0.821 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.5766, allocations: 29.7 kB / 0.8211 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.254e-05/0.5767, allocations: 102.4 kB / 0.8212 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.5767, allocations: 5.469 kB / 0.8212 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.002e-05/0.5767, allocations: 22.03 kB / 0.8212 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.405e-05/0.5768, allocations: 321.1 kB / 0.8215 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.505e-05/0.5769, allocations: 24.55 kB / 0.8215 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.283e-05/0.5769, allocations: 37.47 kB / 0.8215 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.5771, allocations: 61.47 kB / 0.8216 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.5771, allocations: 0.7031 kB / 0.8216 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001668/0.5773, allocations: 95.31 kB / 0.8217 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.5773, allocations: 12.19 kB / 0.8217 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.5773, allocations: 192 / 0.8217 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.5773, allocations: 0 / 0.8217 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.225e-05/0.5774, allocations: 11.27 kB / 0.8217 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.5774, allocations: 3.938 kB / 0.8217 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.923e-05/0.5774, allocations: 32.62 kB / 0.8218 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.5774, allocations: 0 / 0.8218 GB, free: 14.02 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: 3 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.707e-05/0.5775, allocations: 119.5 kB / 0.8219 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.683e-05/0.5776, allocations: 4.609 kB / 0.8219 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.358e-05/0.5776, allocations: 19.34 kB / 0.8219 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.5776, allocations: 0 / 0.8219 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.5776, allocations: 3.938 kB / 0.8219 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.5776, allocations: 2.031 kB / 0.8219 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.5778, allocations: 154.2 kB / 0.822 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.5778, allocations: 0 / 0.822 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.656e-05/0.5778, allocations: 12.47 kB / 0.8221 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.5778, allocations: 0 / 0.8221 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.5778, allocations: 3.484 kB / 0.8221 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.5778, allocations: 0.7031 kB / 0.8221 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.5778, allocations: 7.938 kB / 0.8221 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002085/0.578, allocations: 185.1 kB / 0.8222 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.244e-05/0.578, allocations: 3.203 kB / 0.8222 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.5781, allocations: 7.625 kB / 0.8223 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.812e-05/0.5781, allocations: 22.53 kB / 0.8223 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.912e-05/0.5782, allocations: 16.69 kB / 0.8223 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.5782, allocations: 2.641 kB / 0.8223 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.041e-05/0.5783, allocations: 106.9 kB / 0.8224 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5783, allocations: 0 / 0.8224 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001582/0.5784, allocations: 12.39 kB / 0.8224 GB, free: 13.44 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 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * 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.0004669/0.5789, allocations: 0.7183 MB / 0.8231 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002074/0.5791, allocations: 67.45 kB / 0.8232 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.5791, allocations: 0 / 0.8232 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.803e-05/0.5792, allocations: 35.34 kB / 0.8232 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.5794, allocations: 19.98 kB / 0.8232 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.5811, allocations: 1.477 MB / 0.8247 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.451e-05/0.5811, allocations: 82.88 kB / 0.8247 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.917e-05/0.5812, allocations: 7.5 kB / 0.8248 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.022e-05/0.5813, allocations: 34.58 kB / 0.8248 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of SimCode: time 1.182e-06/0.5813, allocations: 0 / 0.8248 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01974/0.601, allocations: 2.79 MB / 0.8275 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.154/7.755, allocations: 7.734 kB / 0.8275 GB, free: 10.44 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Less_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Less.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.70738374767825] Failed to read output from testmodel.py, exit status != 0: 7.8351561217568815 7.851627658 7.273952706 Calling exit ...