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.001759/0.001759, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001351/0.001351, allocations: 159.6 kB / 22.45 MB, free: 5.375 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.446/1.446, allocations: 177.2 MB / 202.8 MB, free: 9.168 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.208/1.208, allocations: 154.6 MB / 413.7 MB, free: 5.273 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.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 4.789e-06/4.789e-06, allocations: 0 / 0.6186 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.724e-05/5.203e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.003514/0.003566, allocations: 0.7813 MB / 0.6193 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00208/0.005646, allocations: 0.9093 MB / 0.6202 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001892/0.005835, allocations: 3.938 kB / 0.6202 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002085/0.006044, allocations: 15.81 kB / 0.6203 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.432e-05/0.006128, allocations: 15.86 kB / 0.6203 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003739/0.006502, allocations: 27.97 kB / 0.6203 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002327/0.006735, allocations: 75.77 kB / 0.6204 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001981/0.006933, allocations: 27.86 kB / 0.6204 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002817/0.007214, allocations: 51.83 kB / 0.6204 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.007336, allocations: 23.91 kB / 0.6205 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.557e-05/0.007372, allocations: 4 kB / 0.6205 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.176e-05/0.007444, allocations: 8 kB / 0.6205 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.623e-05/0.00748, allocations: 19.92 kB / 0.6205 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.89e-05/0.007529, allocations: 11.94 kB / 0.6205 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002854/0.007814, allocations: 87.72 kB / 0.6206 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.00782, allocations: 4 kB / 0.6206 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.412e-06/0.007822, allocations: 0 / 0.6206 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.007828, allocations: 0 / 0.6206 GB, free: 2.508 MB / 0.5294 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.0008801/0.008708, allocations: 317.9 kB / 0.6209 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.655e-05/0.008765, allocations: 9.469 kB / 0.6209 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002424/0.009007, allocations: 20.88 kB / 0.6209 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004087/0.009416, allocations: 149.5 kB / 0.6211 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.477e-06/0.009426, allocations: 4.375 kB / 0.6211 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/0.009454, allocations: 8.375 kB / 0.6211 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/0.009684, allocations: 58.23 kB / 0.6211 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.009697, allocations: 192 / 0.6211 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.009714, allocations: 384 / 0.6211 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.00972, allocations: 384 / 0.6211 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.009889, allocations: 39.91 kB / 0.6212 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006591/0.01055, allocations: 248.5 kB / 0.6214 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002389/0.01079, allocations: 46.59 kB / 0.6215 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.427e-05/0.01087, allocations: 24.94 kB / 0.6215 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.01089, allocations: 0 / 0.6215 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.01093, allocations: 38.5 kB / 0.6215 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.01093, allocations: 0 / 0.6215 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.00041/0.01134, allocations: 73.62 kB / 0.6216 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/0.0114, allocations: 55.39 kB / 0.6216 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.01158, allocations: 147.7 kB / 0.6218 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/0.01161, allocations: 25.7 kB / 0.6218 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.01171, allocations: 108 kB / 0.6219 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.01174, allocations: 3.953 kB / 0.6219 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.239e-05/0.0118, allocations: 21.7 kB / 0.6219 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.01198, allocations: 318.8 kB / 0.6222 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.799e-05/0.01206, allocations: 19.92 kB / 0.6223 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.61e-05/0.01212, allocations: 15.98 kB / 0.6223 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.01226, allocations: 28.84 kB / 0.6223 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.01226, allocations: 0 / 0.6223 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002176/0.01247, allocations: 73.56 kB / 0.6224 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.0125, allocations: 8 kB / 0.6224 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.0125, allocations: 336 / 0.6224 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/0.01253, allocations: 0 / 0.6224 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.858e-05/0.01262, allocations: 11.94 kB / 0.6224 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.01263, allocations: 0 / 0.6224 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.01273, allocations: 7.984 kB / 0.6224 GB, free: 500 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.01274, allocations: 4 kB / 0.6224 GB, free: 496 kB / 0.5294 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 0.0001324/0.01288, allocations: 118.8 kB / 0.6225 GB, free: 368 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.293e-05/0.01293, allocations: 11.88 kB / 0.6225 GB, free: 356 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.124e-05/0.01299, allocations: 16.33 kB / 0.6225 GB, free: 328 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.01299, allocations: 0 / 0.6225 GB, free: 328 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.013, allocations: 0 / 0.6225 GB, free: 328 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.013, allocations: 0 / 0.6225 GB, free: 328 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/0.01323, allocations: 121.3 kB / 0.6227 GB, free: 176 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01323, allocations: 0 / 0.6227 GB, free: 176 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.64e-05/0.01329, allocations: 7.938 kB / 0.6227 GB, free: 168 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.01329, allocations: 0 / 0.6227 GB, free: 168 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.0133, allocations: 0 / 0.6227 GB, free: 168 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/0.01331, allocations: 12 kB / 0.6227 GB, free: 156 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01331, allocations: 0 / 0.6227 GB, free: 156 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/0.01361, allocations: 159.4 kB / 0.6228 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.341e-05/0.01364, allocations: 15.81 kB / 0.6228 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.01367, allocations: 4 kB / 0.6228 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.01382, allocations: 7.984 kB / 0.6229 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.981e-05/0.0139, allocations: 11.98 kB / 0.6229 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.01391, allocations: 0 / 0.6229 GB, free: 15.94 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001126/0.01402, allocations: 105.8 kB / 0.623 GB, free: 15.84 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.01402, allocations: 4 kB / 0.623 GB, free: 15.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004034/0.01442, allocations: 8 kB / 0.623 GB, free: 15.83 MB / 0.545 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 0.0001723/0.01459, allocations: 95.25 kB / 0.6231 GB, free: 15.73 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000222/0.01482, allocations: 31.97 kB / 0.6231 GB, free: 15.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01482, allocations: 0 / 0.6231 GB, free: 15.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.253e-05/0.0149, allocations: 23.92 kB / 0.6231 GB, free: 15.67 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.01533, allocations: 12.75 kB / 0.6231 GB, free: 15.66 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006669/0.016, allocations: 176.5 kB / 0.6233 GB, free: 15.46 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.01612, allocations: 75.27 kB / 0.6234 GB, free: 15.37 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.081e-05/0.01618, allocations: 4 kB / 0.6234 GB, free: 15.36 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.752e-05/0.01625, allocations: 16.48 kB / 0.6234 GB, free: 15.35 MB / 0.545 GB Notification: Performance of SimCode: time 8.52e-07/0.01625, allocations: 0 / 0.6234 GB, free: 15.35 MB / 0.545 GB Notification: Performance of Templates: time 0.006486/0.02274, allocations: 0.9046 MB / 0.6243 GB, free: 14.46 MB / 0.545 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.708278860896826] Failed to read output from testmodel.py, exit status != 0: 0.03494062274694443 0.054432275 0.043410132000000004 Calling exit ...