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.0007857/0.0007857, allocations: 105.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.0008471/0.0008471, allocations: 211.6 kB / 22.25 MB, free: 3.586 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.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.785/0.785, allocations: 203.8 MB / 0.5042 GB, free: 10.39 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.0009899/0.0009899, allocations: 69.55 kB / 0.7182 GB, free: 3.973 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5749/0.5759, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Less): time 0.001757/0.5777, allocations: 0.8278 MB / 0.8186 GB, free: 0.5078 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009729/0.5786, allocations: 0.922 MB / 0.8195 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.833e-05/0.5787, allocations: 7.688 kB / 0.8196 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001336/0.5789, allocations: 13.94 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.397e-05/0.5789, allocations: 11.88 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.5791, allocations: 46.73 kB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.5792, allocations: 101.5 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.5794, allocations: 38.84 kB / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.5795, allocations: 48.45 kB / 0.8198 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.131e-05/0.5796, allocations: 39.5 kB / 0.8198 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.5796, allocations: 8.469 kB / 0.8198 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.318e-05/0.5796, allocations: 7.625 kB / 0.8199 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.078e-05/0.5797, allocations: 19.39 kB / 0.8199 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.57e-05/0.5797, allocations: 26.66 kB / 0.8199 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.5799, allocations: 106.7 kB / 0.82 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.5799, allocations: 4 kB / 0.82 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.415e-06/0.5799, allocations: 2.375 kB / 0.82 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.136e-06/0.5799, allocations: 0 / 0.82 GB, free: 15.58 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.000535/0.5804, allocations: 342.4 kB / 0.8203 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.5805, allocations: 16.06 kB / 0.8203 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.521e-05/0.5805, allocations: 36.81 kB / 0.8204 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/0.5807, allocations: 17.72 kB / 0.8204 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003281/0.581, allocations: 152.6 kB / 0.8205 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.581, allocations: 2.438 kB / 0.8205 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.581, allocations: 10.09 kB / 0.8206 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.5813, allocations: 90.3 kB / 0.8206 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.5813, allocations: 3.938 kB / 0.8206 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.5813, allocations: 0.6875 kB / 0.8206 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.5813, allocations: 2.219 kB / 0.8207 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001773/0.5815, allocations: 73.7 kB / 0.8207 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005559/0.582, allocations: 305.2 kB / 0.821 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.5822, allocations: 65.02 kB / 0.8211 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.971e-05/0.5823, allocations: 30.42 kB / 0.8211 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.5823, allocations: 3.906 kB / 0.8211 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.5824, allocations: 34.56 kB / 0.8211 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 3.146e-06/0.5824, allocations: 0 / 0.8211 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0003697/0.5828, allocations: 121.9 kB / 0.8213 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.5828, allocations: 55.34 kB / 0.8213 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.5829, allocations: 141.5 kB / 0.8214 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.5829, allocations: 26.8 kB / 0.8215 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.765e-05/0.583, allocations: 105 kB / 0.8216 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.583, allocations: 14.48 kB / 0.8216 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.5831, allocations: 16.91 kB / 0.8216 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.5832, allocations: 319.7 kB / 0.8219 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.03e-05/0.5833, allocations: 36.97 kB / 0.8219 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.307e-05/0.5833, allocations: 26.89 kB / 0.822 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.5835, allocations: 60.8 kB / 0.822 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.5835, allocations: 4 kB / 0.822 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000202/0.5837, allocations: 97.88 kB / 0.8221 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.5837, allocations: 10.12 kB / 0.8221 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.5837, allocations: 0 / 0.8221 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.5837, allocations: 0.75 kB / 0.8221 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.486e-05/0.5838, allocations: 11.17 kB / 0.8221 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.5838, allocations: 7.875 kB / 0.8221 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.28e-05/0.5839, allocations: 25.89 kB / 0.8222 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.5839, allocations: 3.25 kB / 0.8222 GB, free: 13.81 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 0.0001063/0.584, allocations: 114.4 kB / 0.8223 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.153e-05/0.584, allocations: 8.984 kB / 0.8223 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.275e-05/0.5841, allocations: 11.55 kB / 0.8223 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.5841, allocations: 0 / 0.8223 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.5841, allocations: 3.938 kB / 0.8223 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.5841, allocations: 4.688 kB / 0.8223 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.5843, allocations: 154.8 kB / 0.8225 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.5843, allocations: 5.172 kB / 0.8225 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.856e-05/0.5844, allocations: 14.89 kB / 0.8225 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.5844, allocations: 1.594 kB / 0.8225 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.5844, allocations: 0.9375 kB / 0.8225 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.5844, allocations: 5.062 kB / 0.8225 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.5844, allocations: 3.938 kB / 0.8225 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002621/0.5846, allocations: 186.4 kB / 0.8227 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.932e-05/0.5847, allocations: 8.125 kB / 0.8227 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.5847, allocations: 5.594 kB / 0.8227 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.704e-05/0.5848, allocations: 15.78 kB / 0.8227 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.975e-05/0.5848, allocations: 16.06 kB / 0.8227 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.5848, allocations: 2.203 kB / 0.8227 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.412e-05/0.5849, allocations: 97.84 kB / 0.8228 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5849, allocations: 0 / 0.8228 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001655/0.5851, allocations: 17.61 kB / 0.8228 GB, free: 13.24 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.0005608/0.5856, allocations: 0.7224 MB / 0.8235 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002131/0.5858, allocations: 66.53 kB / 0.8236 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5858, allocations: 0 / 0.8236 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.497e-05/0.5859, allocations: 33.2 kB / 0.8236 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.5862, allocations: 23.05 kB / 0.8236 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.5878, allocations: 1.467 MB / 0.8251 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.645e-05/0.5879, allocations: 84.95 kB / 0.8252 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.805e-05/0.588, allocations: 9.203 kB / 0.8252 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.542e-05/0.588, allocations: 25.66 kB / 0.8252 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of SimCode: time 8.92e-07/0.588, allocations: 3.938 kB / 0.8252 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02076/0.6088, allocations: 2.799 MB / 0.8279 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.412/7.021, allocations: 3 kB / 0.8279 GB, free: 10.24 MB / 0.6198 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.019614041317254] Failed to read output from testmodel.py, exit status != 0: 7.098569437861443 7.111563328 6.529052715 Calling exit ...