Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.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.0008236/0.0008236, 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.0009679/0.0009679, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.9295/0.9295, allocations: 230.6 MB / 256 MB, free: 9.816 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.8175/0.8175, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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.Integers.Validation.LessThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_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.0009808/0.0009808, allocations: 68.31 kB / 0.7182 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5155/0.5165, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001474/0.5179, allocations: 0.7029 MB / 0.8186 GB, free: 0.8164 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006516/0.5186, allocations: 0.8733 MB / 0.8194 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.456e-05/0.5187, allocations: 0 / 0.8194 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.063e-05/0.5187, allocations: 3.938 kB / 0.8194 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.45e-05/0.5188, allocations: 14.48 kB / 0.8194 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001376/0.5189, allocations: 26.23 kB / 0.8194 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.343e-05/0.519, allocations: 40.59 kB / 0.8195 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.5191, allocations: 16.83 kB / 0.8195 GB, free: 108 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.395e-05/0.5192, allocations: 20.3 kB / 0.8195 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.241e-05/0.5192, allocations: 24.45 kB / 0.8195 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.5192, allocations: 5.219 kB / 0.8195 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.666e-06/0.5192, allocations: 3.594 kB / 0.8196 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.929e-05/0.5193, allocations: 14.8 kB / 0.8196 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.915e-05/0.5193, allocations: 18.73 kB / 0.8196 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.5194, allocations: 53.52 kB / 0.8196 GB, free: 36 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.5194, allocations: 4.234 kB / 0.8196 GB, free: 36 kB / 0.6042 GB Notification: Performance of FrontEnd: time 3.036e-06/0.5194, allocations: 0 / 0.8196 GB, free: 36 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.5194, allocations: 0 / 0.8196 GB, free: 36 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.0005252/0.52, allocations: 279 kB / 0.8199 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.52, allocations: 12.78 kB / 0.8199 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.788e-05/0.52, allocations: 34.75 kB / 0.8199 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.858e-05/0.5201, allocations: 3.125 kB / 0.82 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.5202, allocations: 120.3 kB / 0.8201 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.5202, allocations: 4.375 kB / 0.8201 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.5202, allocations: 9.906 kB / 0.8201 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.5204, allocations: 64.69 kB / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.5204, allocations: 0 / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.5204, allocations: 1.719 kB / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.5204, allocations: 0 / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.5205, allocations: 48.78 kB / 0.8202 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003536/0.5209, allocations: 276.7 kB / 0.8205 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.521, allocations: 62.08 kB / 0.8205 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.227e-05/0.5211, allocations: 27.95 kB / 0.8205 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.5211, allocations: 0 / 0.8205 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.5211, allocations: 39.22 kB / 0.8206 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.5211, allocations: 0 / 0.8206 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002697/0.5214, allocations: 107.5 kB / 0.8207 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.5214, allocations: 51.41 kB / 0.8207 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.169e-05/0.5215, allocations: 109.4 kB / 0.8208 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.5215, allocations: 28.83 kB / 0.8209 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.467e-05/0.5215, allocations: 89.31 kB / 0.8209 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.5215, allocations: 17.58 kB / 0.821 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/0.5216, allocations: 18.94 kB / 0.821 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.527e-05/0.5217, allocations: 320.8 kB / 0.8213 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.957e-05/0.5217, allocations: 23.02 kB / 0.8213 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.233e-05/0.5218, allocations: 23 kB / 0.8213 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.5219, allocations: 62.02 kB / 0.8214 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5219, allocations: 0 / 0.8214 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001523/0.522, allocations: 86.48 kB / 0.8215 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.5221, allocations: 7.875 kB / 0.8215 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.5221, allocations: 0 / 0.8215 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.5221, allocations: 0.7031 kB / 0.8215 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.829e-05/0.5222, allocations: 11.36 kB / 0.8215 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.5222, allocations: 2.031 kB / 0.8215 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.877e-05/0.5222, allocations: 13.16 kB / 0.8215 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.5222, allocations: 4.5 kB / 0.8215 GB, free: 14.39 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,intLesThr.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 6.378e-05/0.5223, allocations: 112.6 kB / 0.8216 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.503e-05/0.5223, allocations: 6.953 kB / 0.8216 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.074e-05/0.5223, allocations: 8.75 kB / 0.8216 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.5223, allocations: 1.484 kB / 0.8216 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.5223, allocations: 2.281 kB / 0.8216 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.5223, allocations: 0.7031 kB / 0.8216 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.5224, allocations: 148.3 kB / 0.8218 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5224, allocations: 0 / 0.8218 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-05/0.5225, allocations: 16.66 kB / 0.8218 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.5225, allocations: 0.6562 kB / 0.8218 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.5225, allocations: 1.75 kB / 0.8218 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.5225, allocations: 0 / 0.8218 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5225, allocations: 1.469 kB / 0.8218 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.5227, allocations: 187.3 kB / 0.822 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.148e-05/0.5227, allocations: 8.109 kB / 0.822 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.5227, allocations: 4 kB / 0.822 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.285e-05/0.5228, allocations: 7.469 kB / 0.822 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.125e-05/0.5228, allocations: 12.97 kB / 0.822 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.5229, allocations: 0.75 kB / 0.822 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.678e-05/0.5229, allocations: 90.56 kB / 0.8221 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5229, allocations: 0 / 0.8221 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001567/0.523, allocations: 15.45 kB / 0.8221 GB, free: 13.83 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 (intLesThr.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.0004496/0.5235, allocations: 0.7109 MB / 0.8228 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001803/0.5237, allocations: 58.89 kB / 0.8229 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5237, allocations: 0 / 0.8229 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.037e-05/0.5237, allocations: 35.91 kB / 0.8229 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.524, allocations: 9.328 kB / 0.8229 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.5252, allocations: 1.323 MB / 0.8242 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.5254, allocations: 0.6853 MB / 0.8249 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.836e-05/0.5254, allocations: 4.75 kB / 0.8249 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.599e-05/0.5255, allocations: 21.19 kB / 0.8249 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of SimCode: time 5.31e-07/0.5255, allocations: 0.9375 kB / 0.8249 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01839/0.5439, allocations: 1.956 MB / 0.8268 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.787/7.331, allocations: 6.312 kB / 0.8268 GB, free: 10.76 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.168244496919215] Failed to read output from testmodel.py, exit status != 0: 7.406234165886417 7.417528224 6.89569949 Calling exit ...