Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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.001016/0.001016, allocations: 92.22 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.001308/0.001308, allocations: 173 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.033/1.033, 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.8155/0.8155, allocations: 154.9 MB / 414.8 MB, free: 364 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.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 0.5208 GB, free: 1.691 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.15e-05/2.374e-05, allocations: 4 kB / 0.5208 GB, free: 1.688 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.00143/0.001454, allocations: 0.8106 MB / 0.5215 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.002463, allocations: 0.9304 MB / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.002578, allocations: 7.938 kB / 0.5225 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001695/0.002747, allocations: 15.86 kB / 0.5225 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.838e-05/0.002796, allocations: 12.84 kB / 0.5225 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.003049, allocations: 30.89 kB / 0.5225 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.003173, allocations: 79.72 kB / 0.5226 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.003301, allocations: 23.97 kB / 0.5226 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.003453, allocations: 43.84 kB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.758e-05/0.003521, allocations: 23.91 kB / 0.5227 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.003539, allocations: 7.984 kB / 0.5227 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.427e-05/0.003584, allocations: 12 kB / 0.5227 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.554e-05/0.003599, allocations: 8.5 kB / 0.5227 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.84e-05/0.003628, allocations: 15.98 kB / 0.5227 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.003769, allocations: 52.33 kB / 0.5228 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.003772, allocations: 4.781 kB / 0.5228 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.734e-06/0.003773, allocations: 3.984 kB / 0.5228 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.003779, allocations: 0 / 0.5228 GB, free: 15.63 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005004/0.004279, allocations: 406.3 kB / 0.5232 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.004317, allocations: 8.031 kB / 0.5232 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001338/0.004451, allocations: 24.88 kB / 0.5232 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.004628, allocations: 149.3 kB / 0.5233 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.004639, allocations: 4.375 kB / 0.5234 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.00465, allocations: 5.781 kB / 0.5234 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.004773, allocations: 62.94 kB / 0.5234 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.004781, allocations: 192 / 0.5234 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.00479, allocations: 1.531 kB / 0.5234 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.004799, allocations: 4.375 kB / 0.5234 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.025e-05/0.004839, allocations: 23.86 kB / 0.5234 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.005183, allocations: 296.4 kB / 0.5237 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.236e-05/0.005275, allocations: 44.42 kB / 0.5238 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.234e-05/0.005298, allocations: 15.62 kB / 0.5238 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.005312, allocations: 5.344 kB / 0.5238 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.005333, allocations: 33.39 kB / 0.5238 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.005334, allocations: 0 / 0.5238 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001541/0.005488, allocations: 49.73 kB / 0.5239 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.00552, allocations: 64.05 kB / 0.5239 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.387e-05/0.005614, allocations: 187.8 kB / 0.5241 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.00563, allocations: 31.55 kB / 0.5241 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.671e-05/0.005687, allocations: 146.8 kB / 0.5243 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.451e-05/0.005701, allocations: 7.938 kB / 0.5243 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.149e-05/0.005733, allocations: 23.38 kB / 0.5243 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.005851, allocations: 0.4884 MB / 0.5248 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.158e-05/0.005873, allocations: 9.969 kB / 0.5248 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.325e-05/0.005886, allocations: 4 kB / 0.5248 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.48e-05/0.005921, allocations: 15.67 kB / 0.5248 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.005923, allocations: 0 / 0.5248 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.785e-05/0.005991, allocations: 57.56 kB / 0.5249 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.006003, allocations: 6.969 kB / 0.5249 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.006008, allocations: 0 / 0.5249 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.00602, allocations: 4.266 kB / 0.5249 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.253e-05/0.006073, allocations: 4 kB / 0.5249 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.006077, allocations: 0 / 0.5249 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.872e-05/0.006106, allocations: 11.94 kB / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.006114, allocations: 8 kB / 0.5249 GB, free: 13.27 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: 3 (greHys.greHys.y,$PRE.greHys.greHys.y,gre.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.829e-05/0.006182, allocations: 155.3 kB / 0.5251 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.979e-05/0.006202, allocations: 11.92 kB / 0.5251 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.596e-05/0.006228, allocations: 16.34 kB / 0.5251 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.00623, allocations: 0 / 0.5251 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.006233, allocations: 0 / 0.5251 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.006235, allocations: 0 / 0.5251 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.006342, allocations: 140.5 kB / 0.5252 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.006343, allocations: 0.5625 kB / 0.5252 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.642e-05/0.006359, allocations: 4 kB / 0.5252 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.006363, allocations: 5.219 kB / 0.5252 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.904e-06/0.006371, allocations: 3.984 kB / 0.5252 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.006372, allocations: 0 / 0.5252 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.006372, allocations: 0.5938 kB / 0.5252 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/0.006477, allocations: 195.9 kB / 0.5254 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.057e-05/0.006487, allocations: 8.391 kB / 0.5254 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.006508, allocations: 9.031 kB / 0.5254 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.667e-05/0.006545, allocations: 3.984 kB / 0.5254 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.006589, allocations: 9.203 kB / 0.5254 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.006592, allocations: 0 / 0.5254 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.144e-05/0.006644, allocations: 145.5 kB / 0.5256 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.006644, allocations: 0 / 0.5256 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001478/0.006792, allocations: 16.45 kB / 0.5256 GB, free: 12.5 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 (gre.y,greHys.greHys.y) * Number of discrete states: 1 (greHys.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 8.194e-05/0.006873, allocations: 97.02 kB / 0.5257 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.28e-05/0.006966, allocations: 27.61 kB / 0.5257 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.006968, allocations: 0 / 0.5257 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.345e-05/0.006991, allocations: 18.12 kB / 0.5257 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001963/0.007188, allocations: 8 kB / 0.5257 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004789/0.007667, allocations: 181.8 kB / 0.5259 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.367e-05/0.0077, allocations: 57.83 kB / 0.526 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.799e-05/0.007728, allocations: 7.984 kB / 0.526 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.3e-05/0.007761, allocations: 16.44 kB / 0.526 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of SimCode: time 8.91e-07/0.007762, allocations: 3.938 kB / 0.526 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of Templates: time 0.002684/0.01045, allocations: 0.9792 MB / 0.527 GB, free: 11.1 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.763105805963278]