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.001349/0.001349, allocations: 75.48 kB / 19.16 MB, free: 2.566 MB / 14.72 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.001435/0.001435, allocations: 165.6 kB / 22.44 MB, free: 5.316 MB / 14.72 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.426/1.426, allocations: 177.2 MB / 202.8 MB, free: 9.219 MB / 190.1 MB " [Timeout remaining time 178] 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 1.202/1.202, allocations: 155 MB / 414.2 MB, free: 4.961 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] 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: translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold") [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.001988/0.001988, allocations: 69.94 kB / 0.6191 GB, free: 4.195 MB / 0.5294 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5555/0.5575, allocations: 102 MB / 0.7187 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001701/0.5592, allocations: 0.6905 MB / 0.7194 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000817/0.56, allocations: 0.8621 MB / 0.7203 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.091e-05/0.56, allocations: 1.094 kB / 0.7203 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.529e-05/0.5601, allocations: 4.5 kB / 0.7203 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.323e-05/0.5601, allocations: 5.812 kB / 0.7203 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001468/0.5603, allocations: 25.17 kB / 0.7203 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.929e-05/0.5604, allocations: 40.58 kB / 0.7203 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.5605, allocations: 18.72 kB / 0.7203 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.943e-05/0.5606, allocations: 26.5 kB / 0.7204 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.552e-05/0.5606, allocations: 24.62 kB / 0.7204 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.5606, allocations: 4.562 kB / 0.7204 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.034e-05/0.5606, allocations: 8.719 kB / 0.7204 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.861e-05/0.5607, allocations: 11.44 kB / 0.7204 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.515e-05/0.5607, allocations: 17.23 kB / 0.7204 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.975e-05/0.5608, allocations: 52.97 kB / 0.7205 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.5608, allocations: 0.75 kB / 0.7205 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5608, allocations: 1.062 kB / 0.7205 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.5608, allocations: 0 / 0.7205 GB, free: 0.5898 MB / 0.6075 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.0004245/0.5612, allocations: 282.6 kB / 0.7208 GB, free: 324 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.5612, allocations: 10.97 kB / 0.7208 GB, free: 324 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.129e-05/0.5613, allocations: 4.297 kB / 0.7208 GB, free: 324 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.53e-05/0.5614, allocations: 127.1 kB / 0.7209 GB, free: 176 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.5614, allocations: 1.75 kB / 0.7209 GB, free: 176 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.5614, allocations: 11.5 kB / 0.7209 GB, free: 168 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.5616, allocations: 64.39 kB / 0.721 GB, free: 128 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.5616, allocations: 3.938 kB / 0.721 GB, free: 124 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.5616, allocations: 0 / 0.721 GB, free: 124 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.5616, allocations: 2 kB / 0.721 GB, free: 124 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002081/0.5618, allocations: 48.27 kB / 0.721 GB, free: 116 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004335/0.5623, allocations: 235.6 kB / 0.7212 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/0.5625, allocations: 65.11 kB / 0.7213 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.5627, allocations: 32.47 kB / 0.7213 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.5627, allocations: 1.406 kB / 0.7213 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.5627, allocations: 32.77 kB / 0.7214 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.5627, allocations: 0 / 0.7214 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of matching and sorting (n=4): time 0.0004412/0.5631, allocations: 110 kB / 0.7215 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.5632, allocations: 56.06 kB / 0.7215 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.479e-05/0.5633, allocations: 106.6 kB / 0.7216 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.5633, allocations: 26.92 kB / 0.7217 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/0.5634, allocations: 90.56 kB / 0.7217 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.5634, allocations: 11.16 kB / 0.7218 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.58e-05/0.5634, allocations: 20.08 kB / 0.7218 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.5636, allocations: 317.6 kB / 0.7221 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.5637, allocations: 22.72 kB / 0.7221 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.596e-05/0.5638, allocations: 31.3 kB / 0.7221 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.564, allocations: 53.12 kB / 0.7222 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.564, allocations: 1.281 kB / 0.7222 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002535/0.5642, allocations: 86.61 kB / 0.7223 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.5642, allocations: 5.969 kB / 0.7223 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.5642, allocations: 1.219 kB / 0.7223 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.5643, allocations: 0 / 0.7223 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.5644, allocations: 15.97 kB / 0.7223 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.5644, allocations: 4.828 kB / 0.7223 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.995e-05/0.5645, allocations: 13.11 kB / 0.7223 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.5645, allocations: 2.047 kB / 0.7223 GB, free: 15.01 MB / 0.6231 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 9.124e-05/0.5646, allocations: 114 kB / 0.7224 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/0.5646, allocations: 2.297 kB / 0.7224 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.821e-05/0.5646, allocations: 9.922 kB / 0.7224 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.5646, allocations: 0 / 0.7224 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5646, allocations: 2.203 kB / 0.7224 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.5646, allocations: 4 kB / 0.7224 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.5648, allocations: 122.5 kB / 0.7225 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.5648, allocations: 1.922 kB / 0.7225 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.719e-05/0.5649, allocations: 10.45 kB / 0.7226 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.5649, allocations: 5.062 kB / 0.7226 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.5649, allocations: 1.719 kB / 0.7226 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.5649, allocations: 4.641 kB / 0.7226 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.5649, allocations: 3.938 kB / 0.7226 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003347/0.5652, allocations: 184.7 kB / 0.7227 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.436e-05/0.5653, allocations: 14.8 kB / 0.7228 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.5653, allocations: 1.859 kB / 0.7228 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.5654, allocations: 8.828 kB / 0.7228 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.054e-05/0.5654, allocations: 10.73 kB / 0.7228 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.5654, allocations: 1.703 kB / 0.7228 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.495e-05/0.5655, allocations: 88.91 kB / 0.7229 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.5655, allocations: 0 / 0.7229 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002204/0.5657, allocations: 10.36 kB / 0.7229 GB, free: 14.49 MB / 0.6231 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.0001115/0.5658, allocations: 101.7 kB / 0.723 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002774/0.5661, allocations: 56.3 kB / 0.723 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5661, allocations: 1.312 kB / 0.723 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.5662, allocations: 32.62 kB / 0.7231 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.5665, allocations: 12.98 kB / 0.7231 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003486/0.5669, allocations: 130 kB / 0.7232 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.31e-05/0.5669, allocations: 69.62 kB / 0.7233 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.72e-05/0.567, allocations: 8.328 kB / 0.7233 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.694e-05/0.567, allocations: 14.22 kB / 0.7233 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of SimCode: time 2.7e-07/0.567, allocations: 0 / 0.7233 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of Templates: time 0.003565/0.5706, allocations: 0.9594 MB / 0.7242 GB, free: 14.05 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.07578543946147] Failed to read output from testmodel.py, exit status != 0: 0.5794408582150936 0.594332135 0.030461495 Calling exit ...