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.0008279/0.0008279, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 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.0008578/0.0008578, allocations: 209.2 kB / 22.24 MB, free: 3.59 MB / 13.93 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 0.9247/0.9247, allocations: 230.6 MB / 256 MB, free: 9.59 MB / 202.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-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 0.7778/0.7778, allocations: 203.8 MB / 0.5042 GB, free: 10.41 MB / 410.7 MB " [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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) [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.0009221/0.0009221, allocations: 62.5 kB / 0.7182 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5388/0.5397, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001443/0.5412, allocations: 0.8078 MB / 0.8186 GB, free: 0.5195 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007361/0.5419, allocations: 0.9016 MB / 0.8195 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.524e-05/0.542, allocations: 7.25 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.5421, allocations: 9.75 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.171e-05/0.5421, allocations: 15.41 kB / 0.8195 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.5423, allocations: 34.86 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.5424, allocations: 76.12 kB / 0.8196 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.5425, allocations: 26.94 kB / 0.8197 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.5427, allocations: 40.28 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.524e-05/0.5427, allocations: 27.06 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.5427, allocations: 5.438 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.103e-05/0.5428, allocations: 9.406 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.906e-05/0.5428, allocations: 14 kB / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.095e-05/0.5428, allocations: 21 kB / 0.8198 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.543, allocations: 83.16 kB / 0.8199 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.543, allocations: 0 / 0.8199 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.876e-06/0.543, allocations: 0.75 kB / 0.8199 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.543, allocations: 0 / 0.8199 GB, free: 15.66 MB / 0.6198 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.0004959/0.5435, allocations: 321.6 kB / 0.8202 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.5436, allocations: 7.312 kB / 0.8202 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.478e-05/0.5436, allocations: 43.56 kB / 0.8202 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/0.5438, allocations: 20.86 kB / 0.8202 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.544, allocations: 146.7 kB / 0.8204 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.544, allocations: 2.75 kB / 0.8204 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.544, allocations: 8.062 kB / 0.8204 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.5442, allocations: 56.88 kB / 0.8204 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.5442, allocations: 3.938 kB / 0.8204 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.5442, allocations: 6.594 kB / 0.8204 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.5442, allocations: 0 / 0.8204 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.333e-05/0.5443, allocations: 40.17 kB / 0.8205 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004632/0.5448, allocations: 270.6 kB / 0.8207 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.5449, allocations: 54.48 kB / 0.8208 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.952e-05/0.5449, allocations: 20.59 kB / 0.8208 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.545, allocations: 0.7969 kB / 0.8208 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.545, allocations: 30.56 kB / 0.8208 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.545, allocations: 0 / 0.8208 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002267/0.5452, allocations: 77.31 kB / 0.8209 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.5453, allocations: 56.11 kB / 0.821 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.5454, allocations: 137.1 kB / 0.8211 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.5454, allocations: 32.86 kB / 0.8211 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.579e-05/0.5454, allocations: 102 kB / 0.8212 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.433e-05/0.5454, allocations: 7.672 kB / 0.8212 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/0.5455, allocations: 18.16 kB / 0.8213 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.466e-05/0.5456, allocations: 322.9 kB / 0.8216 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.684e-05/0.5456, allocations: 15.23 kB / 0.8216 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.764e-05/0.5456, allocations: 13.81 kB / 0.8216 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.394e-05/0.5457, allocations: 32.48 kB / 0.8216 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.5457, allocations: 0 / 0.8216 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.401e-05/0.5458, allocations: 70.02 kB / 0.8217 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.5458, allocations: 6.297 kB / 0.8217 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.5458, allocations: 0 / 0.8217 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.5458, allocations: 0.75 kB / 0.8217 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.199e-05/0.5459, allocations: 4.672 kB / 0.8217 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.5459, allocations: 0 / 0.8217 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.709e-05/0.5459, allocations: 10.55 kB / 0.8217 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.5459, allocations: 9.25 kB / 0.8217 GB, free: 13.96 MB / 0.6198 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.397e-05/0.546, allocations: 123.8 kB / 0.8218 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/0.546, allocations: 5.984 kB / 0.8218 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.341e-05/0.546, allocations: 12.05 kB / 0.8219 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.546, allocations: 1.969 kB / 0.8219 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.546, allocations: 0 / 0.8219 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.546, allocations: 0.8438 kB / 0.8219 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.5462, allocations: 149.6 kB / 0.822 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.51e-07/0.5462, allocations: 0 / 0.822 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.888e-05/0.5462, allocations: 4.906 kB / 0.822 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.5462, allocations: 5.875 kB / 0.822 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.5462, allocations: 0 / 0.822 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.5462, allocations: 1.812 kB / 0.822 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.11e-07/0.5462, allocations: 3.938 kB / 0.822 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.5463, allocations: 162.6 kB / 0.8222 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.032e-05/0.5463, allocations: 4.984 kB / 0.8222 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.5463, allocations: 8.453 kB / 0.8222 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5e-05/0.5464, allocations: 13.5 kB / 0.8222 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.753e-05/0.5464, allocations: 5.641 kB / 0.8222 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.5464, allocations: 7.938 kB / 0.8222 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.458e-05/0.5465, allocations: 103.9 kB / 0.8223 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5465, allocations: 0 / 0.8223 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001499/0.5466, allocations: 8.344 kB / 0.8223 GB, free: 13.4 MB / 0.6198 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.000284/0.5469, allocations: 0.6964 MB / 0.823 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.987e-05/0.547, allocations: 33.44 kB / 0.823 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.547, allocations: 0 / 0.823 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.857e-05/0.547, allocations: 12.17 kB / 0.823 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001901/0.5472, allocations: 20.52 kB / 0.8231 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000986/0.5482, allocations: 1.381 MB / 0.8244 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.163e-05/0.5483, allocations: 84.61 kB / 0.8245 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.568e-05/0.5483, allocations: 8.25 kB / 0.8245 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.009e-05/0.5484, allocations: 25.8 kB / 0.8245 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of SimCode: time 3.01e-07/0.5484, allocations: 0 / 0.8245 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01607/0.5644, allocations: 2.571 MB / 0.827 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.578/7.142, allocations: 6.297 kB / 0.827 GB, free: 10.46 MB / 0.6198 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.014138929080218] Failed to read output from testmodel.py, exit status != 0: 7.2205726080574095 7.234654015 6.689476197 Calling exit ...