Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.001399/0.001399, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 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.001432/0.001432, allocations: 169 kB / 23.02 MB, free: 1.547 MB / 18.57 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.013/1.013, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.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-535:34: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-535:42: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.7625/0.7625, allocations: 154.9 MB / 414.8 MB, free: 360 kB / 378.7 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 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: translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0.5469 kB / 0.5207 GB, free: 1.77 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.38e-05/1.541e-05, allocations: 4.703 kB / 0.5207 GB, free: 1.766 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001141/0.001157, allocations: 0.699 MB / 0.5214 GB, free: 1.09 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007696/0.001926, allocations: 0.8798 MB / 0.5222 GB, free: 204 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.861e-05/0.001965, allocations: 0 / 0.5222 GB, free: 204 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.138e-05/0.001996, allocations: 3.938 kB / 0.5222 GB, free: 200 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.037e-05/0.002077, allocations: 8.469 kB / 0.5223 GB, free: 192 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001413/0.002218, allocations: 32.91 kB / 0.5223 GB, free: 160 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.914e-05/0.002287, allocations: 35.92 kB / 0.5223 GB, free: 124 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.424e-05/0.002382, allocations: 11.98 kB / 0.5223 GB, free: 112 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.785e-05/0.002459, allocations: 28.44 kB / 0.5224 GB, free: 84 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.13e-05/0.002511, allocations: 24.53 kB / 0.5224 GB, free: 60 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.002534, allocations: 4 kB / 0.5224 GB, free: 56 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.408e-06/0.002544, allocations: 4.938 kB / 0.5224 GB, free: 52 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.902e-05/0.002563, allocations: 15.92 kB / 0.5224 GB, free: 36 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.182e-05/0.002585, allocations: 13.55 kB / 0.5224 GB, free: 24 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.93e-05/0.002684, allocations: 35.92 kB / 0.5224 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.002686, allocations: 0 / 0.5224 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.21e-07/0.002686, allocations: 4 kB / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.00269, allocations: 0.9688 kB / 0.5225 GB, free: 15.98 MB / 0.4948 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.0003896/0.00308, allocations: 372.4 kB / 0.5228 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.003121, allocations: 8.031 kB / 0.5228 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.255e-05/0.003164, allocations: 11.02 kB / 0.5228 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.832e-05/0.003262, allocations: 120.5 kB / 0.5229 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.851e-05/0.00328, allocations: 384 / 0.5229 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.00329, allocations: 4.375 kB / 0.5229 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.003409, allocations: 62.94 kB / 0.523 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.003417, allocations: 8.719 kB / 0.523 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.003426, allocations: 0 / 0.523 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.003433, allocations: 0.75 kB / 0.523 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.123e-05/0.003474, allocations: 24.81 kB / 0.523 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000292/0.003766, allocations: 275.7 kB / 0.5233 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.509e-05/0.003851, allocations: 52.42 kB / 0.5234 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.834e-05/0.003879, allocations: 15.72 kB / 0.5234 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.003892, allocations: 0 / 0.5234 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.003912, allocations: 42.11 kB / 0.5234 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.003913, allocations: 0 / 0.5234 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0001609/0.004074, allocations: 58.64 kB / 0.5235 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/0.004101, allocations: 51.41 kB / 0.5235 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.596e-05/0.004167, allocations: 173 kB / 0.5237 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.004177, allocations: 29.7 kB / 0.5237 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.326e-05/0.00422, allocations: 134.9 kB / 0.5238 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.492e-05/0.004235, allocations: 7.953 kB / 0.5238 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.863e-05/0.004264, allocations: 27.3 kB / 0.5239 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.77e-05/0.004362, allocations: 0.4884 MB / 0.5243 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.07e-05/0.004382, allocations: 7.984 kB / 0.5244 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.619e-05/0.004398, allocations: 8.031 kB / 0.5244 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.917e-05/0.004438, allocations: 28.11 kB / 0.5244 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.004441, allocations: 4.75 kB / 0.5244 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.255e-05/0.004503, allocations: 54.42 kB / 0.5244 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.004515, allocations: 8 kB / 0.5245 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.004519, allocations: 0 / 0.5245 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.00453, allocations: 0.9688 kB / 0.5245 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-05/0.004599, allocations: 7.984 kB / 0.5245 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.004606, allocations: 8.75 kB / 0.5245 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.443e-05/0.00463, allocations: 4 kB / 0.5245 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.004636, allocations: 4.906 kB / 0.5245 GB, free: 13.72 MB / 0.4948 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,intGreThr.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.48e-05/0.004701, allocations: 160.5 kB / 0.5246 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.653e-05/0.004718, allocations: 8.453 kB / 0.5246 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.335e-05/0.004741, allocations: 13.02 kB / 0.5246 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.004742, allocations: 0 / 0.5246 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.004746, allocations: 4 kB / 0.5247 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.004749, allocations: 1.219 kB / 0.5247 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.251e-05/0.004842, allocations: 124.6 kB / 0.5248 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.004843, allocations: 3.938 kB / 0.5248 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.995e-05/0.004873, allocations: 8.609 kB / 0.5248 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.004875, allocations: 1.625 kB / 0.5248 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.004881, allocations: 4 kB / 0.5248 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.22e-07/0.004882, allocations: 0 / 0.5248 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.004883, allocations: 0 / 0.5248 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/0.004992, allocations: 195.9 kB / 0.525 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.878e-06/0.005002, allocations: 20.81 kB / 0.525 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.005012, allocations: 0 / 0.525 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.594e-05/0.005048, allocations: 7.438 kB / 0.525 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/0.005094, allocations: 11.98 kB / 0.525 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.005098, allocations: 0 / 0.525 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.355e-05/0.005131, allocations: 131.2 kB / 0.5251 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005131, allocations: 0 / 0.5251 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001334/0.005265, allocations: 8 kB / 0.5251 GB, free: 12.97 MB / 0.4948 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 (intGreThr.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 6.354e-05/0.005328, allocations: 99.19 kB / 0.5252 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.705e-05/0.005415, allocations: 30.58 kB / 0.5253 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.005416, allocations: 0 / 0.5253 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.006e-05/0.005446, allocations: 27.89 kB / 0.5253 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/0.005612, allocations: 15.92 kB / 0.5253 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002406/0.005853, allocations: 130.3 kB / 0.5254 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.206e-05/0.005885, allocations: 59.34 kB / 0.5255 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.504e-05/0.00591, allocations: 6.938 kB / 0.5255 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.366e-05/0.005943, allocations: 16.5 kB / 0.5255 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of SimCode: time 6.22e-07/0.005944, allocations: 0 / 0.5255 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of Templates: time 0.002348/0.008292, allocations: 1.014 MB / 0.5265 GB, free: 11.57 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8428176417946815]