Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008931/0.0008931, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0009258/0.0009258, allocations: 210.3 kB / 22.26 MB, free: 3.852 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.9938/0.9938, allocations: 230.6 MB / 256 MB, free: 3.438 MB / 202.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.8161/0.8161, allocations: 203.8 MB / 0.5042 GB, free: 0.7422 MB / 410.7 MB " [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.OBC.CDL.Reals.Validation.Less,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Less,fileNamePrefix="IDEAS_dev_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.001043/0.001043, allocations: 63.91 kB / 0.7183 GB, free: 14.94 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5308/0.5318, allocations: 102 MB / 0.8179 GB, free: 24.97 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Less): time 0.001724/0.5335, allocations: 0.8612 MB / 0.8187 GB, free: 24.41 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.5345, allocations: 0.9307 MB / 0.8197 GB, free: 23.71 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.5346, allocations: 3.281 kB / 0.8197 GB, free: 23.71 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001316/0.5348, allocations: 15.62 kB / 0.8197 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 3.843e-05/0.5348, allocations: 12.61 kB / 0.8197 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002236/0.535, allocations: 51.38 kB / 0.8197 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.5352, allocations: 97.81 kB / 0.8198 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.5353, allocations: 41.31 kB / 0.8199 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.5355, allocations: 42.66 kB / 0.8199 GB, free: 23.57 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.29e-05/0.5355, allocations: 47.3 kB / 0.82 GB, free: 23.55 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.5356, allocations: 7.469 kB / 0.82 GB, free: 23.55 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.568e-05/0.5356, allocations: 14.91 kB / 0.82 GB, free: 23.54 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.5356, allocations: 17.69 kB / 0.82 GB, free: 23.53 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.07e-05/0.5357, allocations: 39.09 kB / 0.82 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.5359, allocations: 103.5 kB / 0.8201 GB, free: 23.46 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.5359, allocations: 0.75 kB / 0.8201 GB, free: 23.46 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.374e-06/0.5359, allocations: 0.5938 kB / 0.8201 GB, free: 23.46 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.5359, allocations: 2.438 kB / 0.8201 GB, free: 23.46 MB / 0.6355 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.0004931/0.5364, allocations: 335.9 kB / 0.8205 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.5364, allocations: 12.88 kB / 0.8205 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.019e-05/0.5364, allocations: 41.34 kB / 0.8205 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/0.5366, allocations: 18.91 kB / 0.8205 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.5368, allocations: 153 kB / 0.8207 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.5368, allocations: 3.375 kB / 0.8207 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.5369, allocations: 9.656 kB / 0.8207 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.5371, allocations: 88.03 kB / 0.8208 GB, free: 22.91 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.5371, allocations: 5.594 kB / 0.8208 GB, free: 22.91 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.5371, allocations: 0.9688 kB / 0.8208 GB, free: 22.91 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.5371, allocations: 1.5 kB / 0.8208 GB, free: 22.91 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.5373, allocations: 73.31 kB / 0.8208 GB, free: 22.89 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004678/0.5377, allocations: 327.5 kB / 0.8212 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.5379, allocations: 70.36 kB / 0.8212 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.815e-05/0.538, allocations: 36.73 kB / 0.8213 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.538, allocations: 0 / 0.8213 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.507e-05/0.538, allocations: 32.08 kB / 0.8213 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.538, allocations: 0 / 0.8213 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002908/0.5383, allocations: 115.5 kB / 0.8214 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.072e-05/0.5383, allocations: 56.66 kB / 0.8215 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.64e-05/0.5384, allocations: 145.4 kB / 0.8216 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.406e-06/0.5384, allocations: 26.7 kB / 0.8216 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.98e-05/0.5385, allocations: 103.8 kB / 0.8217 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.487e-05/0.5385, allocations: 15.7 kB / 0.8217 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/0.5385, allocations: 19.66 kB / 0.8217 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.017e-05/0.5385, allocations: 318.4 kB / 0.8221 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.765e-05/0.5386, allocations: 28.36 kB / 0.8221 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.781e-05/0.5387, allocations: 31.58 kB / 0.8221 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.5388, allocations: 59.77 kB / 0.8222 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.5388, allocations: 0 / 0.8222 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001536/0.5389, allocations: 95.02 kB / 0.8223 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.5389, allocations: 6.312 kB / 0.8223 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.539, allocations: 0 / 0.8223 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.539, allocations: 0.9688 kB / 0.8223 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.692e-05/0.539, allocations: 15.45 kB / 0.8223 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.5391, allocations: 9.219 kB / 0.8223 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.437e-05/0.5391, allocations: 22.25 kB / 0.8223 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.5391, allocations: 2.031 kB / 0.8223 GB, free: 21.71 MB / 0.6355 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 5.715e-05/0.5392, allocations: 119.3 kB / 0.8224 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.813e-05/0.5392, allocations: 10.58 kB / 0.8224 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.79e-05/0.5392, allocations: 12.16 kB / 0.8224 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.5392, allocations: 0.9688 kB / 0.8224 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.83e-06/0.5392, allocations: 8.719 kB / 0.8225 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.5392, allocations: 4.875 kB / 0.8225 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.5394, allocations: 160.2 kB / 0.8226 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.5394, allocations: 0.75 kB / 0.8226 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.541e-05/0.5394, allocations: 16.5 kB / 0.8226 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.5394, allocations: 0 / 0.8226 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.5394, allocations: 2.203 kB / 0.8226 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.5394, allocations: 0 / 0.8226 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5394, allocations: 3.938 kB / 0.8226 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001929/0.5396, allocations: 194.3 kB / 0.8228 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.604e-05/0.5396, allocations: 7.469 kB / 0.8228 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.5397, allocations: 5.719 kB / 0.8228 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.863e-05/0.5397, allocations: 14.84 kB / 0.8228 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.938e-05/0.5398, allocations: 12.88 kB / 0.8229 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.5398, allocations: 1.281 kB / 0.8229 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.755e-05/0.5398, allocations: 108.4 kB / 0.823 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.5398, allocations: 0 / 0.823 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001615/0.54, allocations: 10.5 kB / 0.823 GB, free: 21.13 MB / 0.6355 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.0003268/0.5403, allocations: 0.7322 MB / 0.8237 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001952/0.5405, allocations: 63.72 kB / 0.8238 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5405, allocations: 0.875 kB / 0.8238 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.684e-05/0.5406, allocations: 30.06 kB / 0.8238 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.5408, allocations: 18.83 kB / 0.8238 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.542, allocations: 1.471 MB / 0.8252 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.5421, allocations: 0.6965 MB / 0.8259 GB, free: 18.44 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.214e-05/0.5422, allocations: 5.062 kB / 0.8259 GB, free: 18.44 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.594e-05/0.5422, allocations: 26.09 kB / 0.8259 GB, free: 18.42 MB / 0.6355 GB Notification: Performance of SimCode: time 9.61e-07/0.5422, allocations: 0 / 0.8259 GB, free: 18.42 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0161/0.5583, allocations: 2.324 MB / 0.8282 GB, free: 17.99 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.468/7.026, allocations: 7.703 kB / 0.8282 GB, free: 17.99 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Less_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Less.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.077554952120408] Failed to read output from testmodel.py, exit status != 0: 7.102942446013913 7.117869604 6.579927288 Calling exit ...