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.0008011/0.0008011, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0007846/0.0007846, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.985/0.985, allocations: 230.6 MB / 256 MB, free: 9.812 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.7763/0.7763, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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.001323/0.001323, allocations: 69.64 kB / 0.7183 GB, free: 4.273 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5569/0.5582, allocations: 102 MB / 0.8179 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001691/0.5599, allocations: 0.8143 MB / 0.8187 GB, free: 0.7266 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008565/0.5607, allocations: 0.9202 MB / 0.8196 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.5608, allocations: 7.469 kB / 0.8196 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001753/0.561, allocations: 14.12 kB / 0.8196 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.801e-05/0.561, allocations: 10 kB / 0.8196 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002545/0.5613, allocations: 36.53 kB / 0.8197 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.5614, allocations: 81.02 kB / 0.8197 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.5616, allocations: 22.44 kB / 0.8198 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.5617, allocations: 38.98 kB / 0.8198 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.222e-05/0.5618, allocations: 31.48 kB / 0.8198 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.5618, allocations: 8 kB / 0.8198 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.014e-05/0.5618, allocations: 10.61 kB / 0.8198 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.765e-05/0.5618, allocations: 14.38 kB / 0.8199 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.238e-05/0.5619, allocations: 33.08 kB / 0.8199 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.562, allocations: 75.11 kB / 0.82 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.562, allocations: 4 kB / 0.82 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.433e-06/0.562, allocations: 0 / 0.82 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.5621, allocations: 0 / 0.82 GB, free: 15.83 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.0004929/0.5625, allocations: 326 kB / 0.8203 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.5626, allocations: 7.625 kB / 0.8203 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.865e-05/0.5626, allocations: 35.41 kB / 0.8203 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/0.5628, allocations: 18.56 kB / 0.8203 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.563, allocations: 146.2 kB / 0.8205 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.563, allocations: 4.375 kB / 0.8205 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.563, allocations: 3.344 kB / 0.8205 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.5632, allocations: 70.72 kB / 0.8206 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.5632, allocations: 7.609 kB / 0.8206 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.5632, allocations: 4 kB / 0.8206 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.5632, allocations: 0 / 0.8206 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.513e-05/0.5633, allocations: 32 kB / 0.8206 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004409/0.5637, allocations: 282.1 kB / 0.8209 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.5638, allocations: 50.41 kB / 0.8209 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.949e-05/0.5639, allocations: 21.88 kB / 0.8209 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.5639, allocations: 5.219 kB / 0.8209 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.5639, allocations: 31.17 kB / 0.821 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.5639, allocations: 0 / 0.821 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002126/0.5641, allocations: 80.39 kB / 0.821 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.5642, allocations: 52.47 kB / 0.8211 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.5643, allocations: 136.4 kB / 0.8212 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.5643, allocations: 31.23 kB / 0.8213 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.826e-05/0.5644, allocations: 102 kB / 0.8214 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.5644, allocations: 6.734 kB / 0.8214 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/0.5644, allocations: 19.16 kB / 0.8214 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.5645, allocations: 317.9 kB / 0.8217 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.529e-05/0.5646, allocations: 25.14 kB / 0.8217 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.276e-05/0.5646, allocations: 12.97 kB / 0.8217 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.426e-05/0.5647, allocations: 27.45 kB / 0.8217 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.5647, allocations: 0 / 0.8217 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001071/0.5648, allocations: 70.23 kB / 0.8218 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.5648, allocations: 7.344 kB / 0.8218 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.5648, allocations: 0.9844 kB / 0.8218 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.5648, allocations: 2.906 kB / 0.8218 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.746e-05/0.5649, allocations: 6.312 kB / 0.8218 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.5649, allocations: 1.219 kB / 0.8218 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.057e-05/0.5649, allocations: 10.89 kB / 0.8218 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.5649, allocations: 4.594 kB / 0.8218 GB, free: 14.13 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.253e-05/0.565, allocations: 113.9 kB / 0.822 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.684e-05/0.565, allocations: 8.969 kB / 0.822 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.407e-05/0.565, allocations: 11.19 kB / 0.822 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.565, allocations: 8.5 kB / 0.822 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.5651, allocations: 0 / 0.822 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.5651, allocations: 2.281 kB / 0.822 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/0.5652, allocations: 152.8 kB / 0.8221 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5652, allocations: 0.5625 kB / 0.8221 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.795e-05/0.5652, allocations: 9.203 kB / 0.8221 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.5652, allocations: 0 / 0.8221 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.5652, allocations: 1.797 kB / 0.8221 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.5652, allocations: 0.75 kB / 0.8221 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.5652, allocations: 6.094 kB / 0.8221 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.5653, allocations: 161.9 kB / 0.8223 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.222e-05/0.5653, allocations: 11.97 kB / 0.8223 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.5654, allocations: 4.656 kB / 0.8223 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.202e-05/0.5654, allocations: 10.14 kB / 0.8223 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.141e-05/0.5655, allocations: 9.562 kB / 0.8223 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.5655, allocations: 0.6562 kB / 0.8223 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.127e-05/0.5655, allocations: 108.8 kB / 0.8224 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5655, allocations: 5.094 kB / 0.8224 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001496/0.5657, allocations: 8.906 kB / 0.8224 GB, free: 13.56 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.0003192/0.566, allocations: 0.6881 MB / 0.8231 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001022/0.5661, allocations: 36.8 kB / 0.8232 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5661, allocations: 1.594 kB / 0.8232 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.443e-05/0.5661, allocations: 19.42 kB / 0.8232 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/0.5663, allocations: 7.469 kB / 0.8232 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.5675, allocations: 1.382 MB / 0.8245 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.5677, allocations: 0.6975 MB / 0.8252 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.833e-05/0.5678, allocations: 10.72 kB / 0.8252 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.152e-05/0.5678, allocations: 22.3 kB / 0.8252 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of SimCode: time 1.382e-06/0.5678, allocations: 0 / 0.8252 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01563/0.5835, allocations: 2.124 MB / 0.8273 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.639/7.222, allocations: 9.484 kB / 0.8273 GB, free: 10.42 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.152966080931947] Failed to read output from testmodel.py, exit status != 0: 7.297589180991054 7.307723875 6.743747856 Calling exit ...