Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001621/0.001621, allocations: 118.8 kB / 17.84 MB, free: 5.234 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.001961/0.001961, allocations: 202.3 kB / 20.79 MB, free: 2.297 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.575/1.575, allocations: 230.6 MB / 254.2 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.042/1.042, allocations: 150 MB / 460.2 MB, free: 5.277 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002039/0.002039, allocations: 74.95 kB / 0.6368 GB, free: 30.56 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1787, allocations: 89.14 MB / 0.7239 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002062/0.1808, allocations: 0.8076 MB / 0.7247 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.182, allocations: 0.9229 MB / 0.7256 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.93e-05/0.1821, allocations: 7.938 kB / 0.7256 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.1822, allocations: 7.875 kB / 0.7256 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.155e-05/0.1822, allocations: 11.86 kB / 0.7256 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002018/0.1824, allocations: 31.91 kB / 0.7256 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.1826, allocations: 75.77 kB / 0.7257 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.1827, allocations: 19.98 kB / 0.7257 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.1828, allocations: 43.83 kB / 0.7258 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.156e-05/0.1829, allocations: 27.86 kB / 0.7258 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.1829, allocations: 11.94 kB / 0.7258 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.214e-05/0.1829, allocations: 8 kB / 0.7258 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.947e-05/0.183, allocations: 11.98 kB / 0.7258 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.91e-05/0.183, allocations: 31.8 kB / 0.7259 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.1832, allocations: 87.83 kB / 0.7259 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1832, allocations: 0 / 0.7259 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1832, allocations: 0 / 0.7259 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.828e-06/0.1832, allocations: 0 / 0.7259 GB, free: 2.008 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.0005954/0.1838, allocations: 399.1 kB / 0.7263 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.1838, allocations: 8.031 kB / 0.7263 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.124e-05/0.1838, allocations: 192 / 0.7263 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.413e-05/0.1839, allocations: 38.73 kB / 0.7264 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001537/0.184, allocations: 16.84 kB / 0.7264 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.1843, allocations: 200.2 kB / 0.7266 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.1843, allocations: 4.375 kB / 0.7266 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.1843, allocations: 12.38 kB / 0.7266 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.1845, allocations: 65.92 kB / 0.7267 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.1845, allocations: 0 / 0.7267 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.1845, allocations: 3.938 kB / 0.7267 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.1845, allocations: 0 / 0.7267 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.1846, allocations: 31.98 kB / 0.7267 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000523/0.1851, allocations: 328.6 kB / 0.727 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.1853, allocations: 46.55 kB / 0.7271 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.699e-05/0.1854, allocations: 12.92 kB / 0.7271 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.1854, allocations: 0 / 0.7271 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.1854, allocations: 38.56 kB / 0.7271 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.1854, allocations: 4 kB / 0.7271 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0002772/0.1857, allocations: 81.72 kB / 0.7272 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.1858, allocations: 51.41 kB / 0.7272 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.1859, allocations: 135.4 kB / 0.7274 GB, free: 364 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.1859, allocations: 25.7 kB / 0.7274 GB, free: 332 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.221e-05/0.186, allocations: 104.1 kB / 0.7275 GB, free: 224 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.186, allocations: 11.94 kB / 0.7275 GB, free: 212 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/0.186, allocations: 17.66 kB / 0.7275 GB, free: 188 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.1862, allocations: 330.8 kB / 0.7278 GB, free: 15.85 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.447e-05/0.1863, allocations: 12 kB / 0.7278 GB, free: 15.84 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.991e-05/0.1863, allocations: 15.98 kB / 0.7279 GB, free: 15.82 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.37e-05/0.1864, allocations: 28.84 kB / 0.7279 GB, free: 15.79 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1864, allocations: 3.938 kB / 0.7279 GB, free: 15.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000154/0.1865, allocations: 69.62 kB / 0.728 GB, free: 15.71 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1866, allocations: 4.781 kB / 0.728 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1866, allocations: 4 kB / 0.728 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.1866, allocations: 0 / 0.728 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.584e-05/0.1866, allocations: 4 kB / 0.728 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1867, allocations: 0 / 0.728 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.397e-05/0.1867, allocations: 15.92 kB / 0.728 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.1867, allocations: 0 / 0.728 GB, free: 15.69 MB / 0.545 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.0001006/0.1868, allocations: 117.8 kB / 0.7281 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/0.1869, allocations: 11.95 kB / 0.7281 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.117e-05/0.1869, allocations: 12.25 kB / 0.7281 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1869, allocations: 4 kB / 0.7281 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1869, allocations: 0 / 0.7281 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.1869, allocations: 3.938 kB / 0.7281 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.1871, allocations: 177.6 kB / 0.7283 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1871, allocations: 0 / 0.7283 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.431e-05/0.1872, allocations: 11.92 kB / 0.7283 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1872, allocations: 0 / 0.7283 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.1872, allocations: 0 / 0.7283 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1872, allocations: 0 / 0.7283 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.1872, allocations: 15.92 kB / 0.7283 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.1874, allocations: 159.4 kB / 0.7285 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.324e-05/0.1874, allocations: 85 kB / 0.7286 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.1875, allocations: 0 / 0.7286 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.1876, allocations: 11.98 kB / 0.7286 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.227e-05/0.1876, allocations: 11.98 kB / 0.7286 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.1876, allocations: 3.938 kB / 0.7286 GB, free: 14.98 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.719e-05/0.1877, allocations: 109 kB / 0.7287 GB, free: 14.87 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1877, allocations: 0 / 0.7287 GB, free: 14.87 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002249/0.1879, allocations: 7.984 kB / 0.7287 GB, free: 14.86 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.0005671/0.1885, allocations: 0.6971 MB / 0.7294 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001684/0.1887, allocations: 35.98 kB / 0.7294 GB, free: 14.11 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1887, allocations: 0 / 0.7294 GB, free: 14.11 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.567e-05/0.1887, allocations: 23.92 kB / 0.7294 GB, free: 14.08 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.189, allocations: 14.78 kB / 0.7294 GB, free: 14.07 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.1906, allocations: 1.371 MB / 0.7308 GB, free: 12.62 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.1909, allocations: 0.6924 MB / 0.7315 GB, free: 11.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.833e-05/0.191, allocations: 7.984 kB / 0.7315 GB, free: 11.89 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.836e-05/0.191, allocations: 23.44 kB / 0.7315 GB, free: 11.87 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.191, allocations: 0 / 0.7315 GB, free: 11.87 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01973/0.2108, allocations: 2.05 MB / 0.7335 GB, free: 9.945 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.363/8.574, allocations: 11.75 kB / 0.7335 GB, free: 9.934 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.617469855991658] Failed to read output from testmodel.py, exit status != 0: 8.705974999989849 8.723034673999999 8.536765493 Calling exit ...