Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.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.0008796/0.0008796, 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.001376/0.001376, 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 1.017/1.017, 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 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.7971/0.7971, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.LessThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_LessThreshold",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.001128/0.001128, allocations: 69.78 kB / 0.7182 GB, free: 3.988 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5911/0.5922, allocations: 102 MB / 0.8178 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001861/0.5941, allocations: 0.7971 MB / 0.8186 GB, free: 0.5234 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00129/0.5953, allocations: 0.9078 MB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.5955, allocations: 7.156 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001998/0.5957, allocations: 9.844 kB / 0.8195 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.057e-05/0.5957, allocations: 15.33 kB / 0.8195 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002712/0.596, allocations: 34.16 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.5962, allocations: 70.05 kB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.5963, allocations: 30.45 kB / 0.8197 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.5964, allocations: 33.77 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.707e-05/0.5965, allocations: 31.52 kB / 0.8197 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.5965, allocations: 5.312 kB / 0.8197 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.877e-05/0.5966, allocations: 6.281 kB / 0.8197 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.191e-05/0.5966, allocations: 19.45 kB / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.93e-05/0.5966, allocations: 20.56 kB / 0.8198 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.5968, allocations: 82.77 kB / 0.8198 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.5968, allocations: 0.5625 kB / 0.8198 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.627e-06/0.5968, allocations: 4 kB / 0.8199 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.5968, allocations: 3.375 kB / 0.8199 GB, free: 15.66 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005009/0.5973, allocations: 316.9 kB / 0.8202 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.5974, allocations: 11.59 kB / 0.8202 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.528e-05/0.5974, allocations: 32.16 kB / 0.8202 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001487/0.5975, allocations: 18.81 kB / 0.8202 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.5978, allocations: 150.2 kB / 0.8204 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.5978, allocations: 3.188 kB / 0.8204 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.5978, allocations: 5.938 kB / 0.8204 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.598, allocations: 62.42 kB / 0.8204 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.598, allocations: 10.2 kB / 0.8204 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.598, allocations: 0 / 0.8204 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.598, allocations: 1.344 kB / 0.8204 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.765e-05/0.5981, allocations: 40.53 kB / 0.8205 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005055/0.5986, allocations: 274 kB / 0.8207 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.5988, allocations: 51.22 kB / 0.8208 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.581e-05/0.5988, allocations: 18.89 kB / 0.8208 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.5989, allocations: 0 / 0.8208 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.5989, allocations: 35.12 kB / 0.8208 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.5989, allocations: 0 / 0.8208 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002538/0.5991, allocations: 70.52 kB / 0.8209 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.5992, allocations: 51.41 kB / 0.821 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.5993, allocations: 147.1 kB / 0.8211 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.5993, allocations: 29.7 kB / 0.8211 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.749e-05/0.5994, allocations: 108.3 kB / 0.8212 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.5994, allocations: 4.609 kB / 0.8212 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.867e-05/0.5994, allocations: 21.33 kB / 0.8213 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.5995, allocations: 318.4 kB / 0.8216 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.152e-05/0.5996, allocations: 17.98 kB / 0.8216 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.151e-05/0.5996, allocations: 16.14 kB / 0.8216 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.886e-05/0.5997, allocations: 30.67 kB / 0.8216 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.5997, allocations: 4 kB / 0.8216 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001042/0.5998, allocations: 67.22 kB / 0.8217 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.5998, allocations: 4.938 kB / 0.8217 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.5998, allocations: 0.7031 kB / 0.8217 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.5998, allocations: 3.938 kB / 0.8217 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.418e-05/0.5999, allocations: 7.375 kB / 0.8217 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.5999, allocations: 0.6094 kB / 0.8217 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.802e-05/0.6, allocations: 7.969 kB / 0.8217 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.6, allocations: 5.891 kB / 0.8217 GB, free: 13.96 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 (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 8.12e-05/0.6, allocations: 120.8 kB / 0.8218 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.651e-05/0.6001, allocations: 7.766 kB / 0.8218 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.965e-05/0.6001, allocations: 9.797 kB / 0.8218 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.6001, allocations: 0 / 0.8218 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.6001, allocations: 0 / 0.8218 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.81e-06/0.6001, allocations: 2.062 kB / 0.8219 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.6003, allocations: 148.9 kB / 0.822 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.6003, allocations: 5.031 kB / 0.822 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.758e-05/0.6003, allocations: 4.672 kB / 0.822 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.6003, allocations: 1.312 kB / 0.822 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.6003, allocations: 4.656 kB / 0.822 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.6003, allocations: 1.344 kB / 0.822 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.6003, allocations: 0 / 0.822 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.6004, allocations: 165.9 kB / 0.8222 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.318e-05/0.6005, allocations: 5.656 kB / 0.8222 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.6005, allocations: 7.891 kB / 0.8222 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.166e-05/0.6005, allocations: 9.828 kB / 0.8222 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.322e-05/0.6006, allocations: 12.06 kB / 0.8222 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.6006, allocations: 0.7031 kB / 0.8222 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.937e-05/0.6006, allocations: 110 kB / 0.8223 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.6006, allocations: 3.938 kB / 0.8223 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001598/0.6008, allocations: 7.25 kB / 0.8223 GB, free: 13.39 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 (3): * Single equations (assignments): 3 * 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.0003565/0.6012, allocations: 0.691 MB / 0.823 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001169/0.6013, allocations: 29.98 kB / 0.823 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.6013, allocations: 0 / 0.823 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.925e-05/0.6013, allocations: 17.34 kB / 0.823 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.6015, allocations: 12.77 kB / 0.823 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.6028, allocations: 1.391 MB / 0.8244 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.743e-05/0.6028, allocations: 77.8 kB / 0.8245 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.295e-05/0.6029, allocations: 8.25 kB / 0.8245 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.112e-05/0.6029, allocations: 25.72 kB / 0.8245 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of SimCode: time 9.82e-07/0.6029, allocations: 0 / 0.8245 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01749/0.6204, allocations: 2.576 MB / 0.827 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.482/7.103, allocations: 1.281 kB / 0.827 GB, free: 10.46 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_LessThreshold_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_LessThreshold.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.145381074864417] Failed to read output from testmodel.py, exit status != 0: 7.183811252005398 7.203643717 6.603499803 Calling exit ...