Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.001404/0.001404, allocations: 82.64 kB / 19.16 MB, free: 2.535 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.001439/0.001439, allocations: 167 kB / 22.44 MB, free: 5.336 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.423/1.423, allocations: 177.2 MB / 202.8 MB, free: 9.195 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.218/1.218, allocations: 155 MB / 414.2 MB, free: 4.941 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.GreaterEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") [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.001949/0.001949, allocations: 75.33 kB / 0.6192 GB, free: 4.117 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.5731/0.575, allocations: 102 MB / 0.7187 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001835/0.5769, allocations: 0.6854 MB / 0.7194 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009002/0.5778, allocations: 0.8565 MB / 0.7203 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.258e-05/0.5778, allocations: 0 / 0.7203 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.743e-05/0.5778, allocations: 6.734 kB / 0.7203 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.618e-05/0.5779, allocations: 7.938 kB / 0.7203 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001473/0.5781, allocations: 29.09 kB / 0.7203 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.956e-05/0.5781, allocations: 49.2 kB / 0.7203 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.5782, allocations: 6.188 kB / 0.7203 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.204e-05/0.5783, allocations: 34.66 kB / 0.7204 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.635e-05/0.5784, allocations: 20.97 kB / 0.7204 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.5784, allocations: 3.812 kB / 0.7204 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.038e-05/0.5784, allocations: 4.125 kB / 0.7204 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.883e-05/0.5784, allocations: 7.328 kB / 0.7204 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.559e-05/0.5785, allocations: 22.08 kB / 0.7204 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001055/0.5786, allocations: 61.34 kB / 0.7205 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.5786, allocations: 1.219 kB / 0.7205 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5786, allocations: 1.156 kB / 0.7205 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.5786, allocations: 0 / 0.7205 GB, free: 0.5586 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.0004233/0.579, allocations: 280.7 kB / 0.7208 GB, free: 292 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.579, allocations: 14.5 kB / 0.7208 GB, free: 288 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/0.5791, allocations: 4.5 kB / 0.7208 GB, free: 288 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.305e-05/0.5792, allocations: 119.6 kB / 0.7209 GB, free: 148 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.5792, allocations: 2.094 kB / 0.7209 GB, free: 148 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.5792, allocations: 5.312 kB / 0.7209 GB, free: 144 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.5794, allocations: 77.64 kB / 0.721 GB, free: 92 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.5794, allocations: 0 / 0.721 GB, free: 92 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.5794, allocations: 0.5625 kB / 0.721 GB, free: 92 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.5794, allocations: 1 kB / 0.721 GB, free: 92 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002121/0.5796, allocations: 47.89 kB / 0.721 GB, free: 84 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004091/0.58, allocations: 230.3 kB / 0.7212 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002117/0.5802, allocations: 61.56 kB / 0.7213 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.5804, allocations: 32.38 kB / 0.7213 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.5804, allocations: 0.8438 kB / 0.7213 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.552e-05/0.5804, allocations: 35.66 kB / 0.7214 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.5804, allocations: 1.281 kB / 0.7214 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of matching and sorting (n=4): time 0.00043/0.5809, allocations: 104.9 kB / 0.7215 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.5809, allocations: 53.61 kB / 0.7215 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.897e-05/0.581, allocations: 111.2 kB / 0.7216 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.581, allocations: 29.7 kB / 0.7217 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 6.184e-05/0.5811, allocations: 95.5 kB / 0.7217 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.5811, allocations: 10.84 kB / 0.7218 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.445e-05/0.5811, allocations: 19.75 kB / 0.7218 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.5813, allocations: 317.4 kB / 0.7221 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.5814, allocations: 23.09 kB / 0.7221 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.803e-05/0.5815, allocations: 23.48 kB / 0.7221 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.5817, allocations: 60.55 kB / 0.7222 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5817, allocations: 1 kB / 0.7222 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002477/0.582, allocations: 84.17 kB / 0.7223 GB, free: 15 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.582, allocations: 4.688 kB / 0.7223 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.582, allocations: 336 / 0.7223 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.582, allocations: 1.156 kB / 0.7223 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.5821, allocations: 11.58 kB / 0.7223 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.5821, allocations: 1.969 kB / 0.7223 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.449e-05/0.5822, allocations: 10.5 kB / 0.7223 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.5822, allocations: 2.094 kB / 0.7223 GB, free: 15 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,intGreEquThr.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.414e-05/0.5823, allocations: 122.3 kB / 0.7224 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.912e-05/0.5823, allocations: 6.5 kB / 0.7224 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.583e-05/0.5824, allocations: 10.47 kB / 0.7224 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.5824, allocations: 0 / 0.7224 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.5824, allocations: 4.688 kB / 0.7224 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.5824, allocations: 1.219 kB / 0.7224 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.5825, allocations: 123 kB / 0.7225 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.5825, allocations: 1.062 kB / 0.7225 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.959e-05/0.5826, allocations: 15.22 kB / 0.7226 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.5826, allocations: 1.062 kB / 0.7226 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.5826, allocations: 0.7031 kB / 0.7226 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.5826, allocations: 2.094 kB / 0.7226 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5826, allocations: 0 / 0.7226 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003075/0.5829, allocations: 184.1 kB / 0.7227 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.678e-06/0.5829, allocations: 3.031 kB / 0.7227 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.583, allocations: 1.188 kB / 0.7227 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.5831, allocations: 7.156 kB / 0.7228 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.828e-05/0.5831, allocations: 15.38 kB / 0.7228 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.5831, allocations: 2.172 kB / 0.7228 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 6.103e-05/0.5832, allocations: 103.7 kB / 0.7229 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5832, allocations: 0 / 0.7229 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002224/0.5834, allocations: 11.05 kB / 0.7229 GB, free: 14.46 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 (intGreEquThr.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.000107/0.5835, allocations: 95.34 kB / 0.723 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002667/0.5838, allocations: 55.23 kB / 0.723 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.5838, allocations: 4.844 kB / 0.723 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.5839, allocations: 29.41 kB / 0.7231 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.5842, allocations: 11.03 kB / 0.7231 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000504/0.5847, allocations: 134.2 kB / 0.7232 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8e-05/0.5848, allocations: 65.28 kB / 0.7233 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 4.086e-05/0.5848, allocations: 8.562 kB / 0.7233 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.5e-05/0.5849, allocations: 13.73 kB / 0.7233 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of SimCode: time 2.81e-07/0.5849, allocations: 0 / 0.7233 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of Templates: time 0.00389/0.5888, allocations: 0.9648 MB / 0.7242 GB, free: 14.04 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.179056327790022] Failed to read output from testmodel.py, exit status != 0: 0.5976751297712326 0.6130646399999999 0.031388644 Calling exit ...