Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.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.001703/0.001703, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.001525/0.001525, allocations: 227.4 kB / 23.01 MB, free: 5.004 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 8.008 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 0.9819/0.9819, allocations: 150 MB / 463.2 MB, free: 10.56 MB / 366.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.Hysteresis,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Hysteresis",fmuType="me",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.002024/0.002024, allocations: 63.81 kB / 0.6413 GB, free: 10.46 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1936, allocations: 89.17 MB / 0.7284 GB, free: 1.352 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002589/0.1962, allocations: 0.8423 MB / 0.7292 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001486/0.1977, allocations: 0.9249 MB / 0.7301 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.417e-05/0.1977, allocations: 4 kB / 0.7301 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.283e-05/0.1978, allocations: 11.86 kB / 0.7301 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.1979, allocations: 15.75 kB / 0.7302 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.1982, allocations: 47.94 kB / 0.7302 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001971/0.1984, allocations: 115.6 kB / 0.7303 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.1985, allocations: 17.3 kB / 0.7303 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002146/0.1987, allocations: 59.83 kB / 0.7304 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.1988, allocations: 55.7 kB / 0.7304 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.1988, allocations: 12 kB / 0.7304 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.086e-05/0.1989, allocations: 19.98 kB / 0.7305 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.977e-05/0.1989, allocations: 19.92 kB / 0.7305 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.738e-05/0.199, allocations: 47.73 kB / 0.7305 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.1992, allocations: 127.7 kB / 0.7307 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1992, allocations: 4 kB / 0.7307 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1992, allocations: 0 / 0.7307 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.846e-06/0.1992, allocations: 3.984 kB / 0.7307 GB, free: 15.02 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008406/0.2001, allocations: 365.7 kB / 0.731 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.2001, allocations: 12.03 kB / 0.731 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.114e-05/0.2001, allocations: 38.73 kB / 0.7311 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002603/0.2004, allocations: 32.88 kB / 0.7311 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004937/0.2009, allocations: 194.3 kB / 0.7313 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.512e-05/0.2009, allocations: 4.375 kB / 0.7313 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.201, allocations: 8.375 kB / 0.7313 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003083/0.2013, allocations: 124 kB / 0.7314 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.2013, allocations: 0 / 0.7314 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.2013, allocations: 0 / 0.7314 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.2013, allocations: 0 / 0.7314 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002834/0.2016, allocations: 79.86 kB / 0.7315 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007546/0.2023, allocations: 480 kB / 0.7319 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.2026, allocations: 111.8 kB / 0.732 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/0.2028, allocations: 50.61 kB / 0.7321 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.211e-05/0.2028, allocations: 7.938 kB / 0.7321 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.2028, allocations: 42.56 kB / 0.7321 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.2028, allocations: 0 / 0.7321 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0006219/0.2035, allocations: 165.4 kB / 0.7323 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.427e-05/0.2035, allocations: 103.1 kB / 0.7324 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.2037, allocations: 153.3 kB / 0.7325 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.2037, allocations: 33.7 kB / 0.7326 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.849e-05/0.2038, allocations: 108.2 kB / 0.7327 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.587e-05/0.2038, allocations: 19.86 kB / 0.7327 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.964e-05/0.2039, allocations: 25.7 kB / 0.7327 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.2041, allocations: 330.8 kB / 0.733 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.2042, allocations: 39.97 kB / 0.7331 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.2044, allocations: 81.11 kB / 0.7332 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002808/0.2047, allocations: 98.67 kB / 0.7333 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2047, allocations: 4 kB / 0.7333 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003711/0.2051, allocations: 137.5 kB / 0.7334 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.2051, allocations: 6.344 kB / 0.7334 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.2051, allocations: 0 / 0.7334 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.2051, allocations: 4 kB / 0.7334 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.2053, allocations: 19.92 kB / 0.7334 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.2053, allocations: 11.98 kB / 0.7334 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.2054, allocations: 23.86 kB / 0.7334 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.2054, allocations: 4 kB / 0.7335 GB, free: 11.89 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (hysteresis.y,$PRE.hysteresis.y,hysteresis1.y,$PRE.hysteresis1.y,hysteresis2.y,$PRE.hysteresis2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001262/0.2055, allocations: 121.8 kB / 0.7336 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.813e-05/0.2056, allocations: 11.95 kB / 0.7336 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002818/0.2059, allocations: 89.92 kB / 0.7337 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.2059, allocations: 4 kB / 0.7337 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.2059, allocations: 0 / 0.7337 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2059, allocations: 0 / 0.7337 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003466/0.2063, allocations: 188.6 kB / 0.7338 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2063, allocations: 0 / 0.7338 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.2064, allocations: 19.98 kB / 0.7339 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2064, allocations: 0 / 0.7339 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.2064, allocations: 3.984 kB / 0.7339 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.2064, allocations: 4 kB / 0.7339 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2064, allocations: 4.062 kB / 0.7339 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004466/0.2068, allocations: 369.9 kB / 0.7342 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.393e-05/0.2069, allocations: 11.89 kB / 0.7342 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/0.2069, allocations: 12 kB / 0.7343 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.2071, allocations: 19.91 kB / 0.7343 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.035e-05/0.2072, allocations: 23.95 kB / 0.7343 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.2072, allocations: 3.938 kB / 0.7343 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.718e-05/0.2073, allocations: 113.9 kB / 0.7344 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2073, allocations: 0 / 0.7344 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003315/0.2076, allocations: 23.95 kB / 0.7344 GB, free: 10.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (hysteresis.y,hysteresis1.y,hysteresis2.y) * Number of discrete states: 3 (hysteresis2.y,hysteresis1.y,hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0008067/0.2085, allocations: 0.9023 MB / 0.7353 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003828/0.2088, allocations: 99.86 kB / 0.7354 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2088, allocations: 0 / 0.7354 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.209, allocations: 43.91 kB / 0.7355 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005103/0.2095, allocations: 19.94 kB / 0.7355 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002531/0.212, allocations: 1.811 MB / 0.7372 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.2124, allocations: 0.7039 MB / 0.7379 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.685e-05/0.2125, allocations: 16.64 kB / 0.7379 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.834e-05/0.2126, allocations: 39.42 kB / 0.738 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of SimCode: time 5.41e-07/0.2126, allocations: 0 / 0.738 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03212/0.2447, allocations: 2.846 MB / 0.7408 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.23, allocations: 6.938 kB / 0.7408 GB, free: 4.312 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Hysteresis_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Hysteresis.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.092800436075777] Failed to read output from testmodel.py, exit status != 0: 11.342700846027583 11.359700191 11.157113531 Calling exit ...