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.001346/0.001346, allocations: 114.9 kB / 17.84 MB, free: 5.336 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.00149/0.00149, allocations: 205.6 kB / 20.8 MB, free: 2.391 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.609/1.609, allocations: 230.6 MB / 254.2 MB, free: 15.11 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.008/1.008, allocations: 150 MB / 460.2 MB, free: 5.316 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.Hysteresis,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Hysteresis",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Hysteresis",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.002012/0.002012, allocations: 78.02 kB / 0.6369 GB, free: 30.44 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1735, allocations: 89.13 MB / 0.7239 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002385/0.1758, allocations: 0.8408 MB / 0.7247 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001397/0.1772, allocations: 0.9229 MB / 0.7256 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.376e-05/0.1773, allocations: 0 / 0.7256 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.984e-05/0.1774, allocations: 11.81 kB / 0.7256 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.1775, allocations: 19.8 kB / 0.7257 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.1777, allocations: 43.94 kB / 0.7257 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.1779, allocations: 115.6 kB / 0.7258 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.178, allocations: 29.09 kB / 0.7258 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.1782, allocations: 51.83 kB / 0.7259 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.1783, allocations: 63.64 kB / 0.7259 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.1783, allocations: 8 kB / 0.726 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.974e-05/0.1784, allocations: 16 kB / 0.726 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.202e-05/0.1784, allocations: 31.89 kB / 0.726 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.86e-05/0.1784, allocations: 47.73 kB / 0.726 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.1787, allocations: 123.7 kB / 0.7262 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1787, allocations: 4 kB / 0.7262 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.677e-06/0.1787, allocations: 3.984 kB / 0.7262 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.1787, allocations: 0 / 0.7262 GB, free: 1.68 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007893/0.1795, allocations: 442.8 kB / 0.7266 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.1795, allocations: 12.03 kB / 0.7266 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.343e-05/0.1795, allocations: 192 / 0.7266 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.147e-05/0.1796, allocations: 38.73 kB / 0.7266 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002526/0.1798, allocations: 36.81 kB / 0.7267 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005384/0.1803, allocations: 259.2 kB / 0.7269 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.1804, allocations: 8.375 kB / 0.7269 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.1804, allocations: 8.375 kB / 0.7269 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003051/0.1807, allocations: 116.3 kB / 0.727 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1807, allocations: 0 / 0.727 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.1807, allocations: 3.984 kB / 0.7271 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.1807, allocations: 4 kB / 0.7271 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002986/0.181, allocations: 71.88 kB / 0.7271 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007083/0.1817, allocations: 0.501 MB / 0.7276 GB, free: 28 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002968/0.182, allocations: 111.9 kB / 0.7277 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.1822, allocations: 54.59 kB / 0.7278 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.1822, allocations: 0 / 0.7278 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.1823, allocations: 38.56 kB / 0.7278 GB, free: 15.78 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 9.51e-07/0.1823, allocations: 0 / 0.7278 GB, free: 15.78 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0006478/0.1829, allocations: 153.4 kB / 0.728 GB, free: 15.62 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.003e-05/0.183, allocations: 114.8 kB / 0.7281 GB, free: 15.48 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.1831, allocations: 142.5 kB / 0.7282 GB, free: 15.34 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/0.1832, allocations: 33.7 kB / 0.7282 GB, free: 15.3 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.942e-05/0.1832, allocations: 108.2 kB / 0.7283 GB, free: 15.18 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.71e-05/0.1833, allocations: 23.84 kB / 0.7284 GB, free: 15.16 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.473e-05/0.1833, allocations: 29.7 kB / 0.7284 GB, free: 15.12 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1835, allocations: 326.8 kB / 0.7287 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.1837, allocations: 35.97 kB / 0.7287 GB, free: 14.76 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/0.1838, allocations: 89.3 kB / 0.7288 GB, free: 14.66 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/0.1841, allocations: 98.48 kB / 0.7289 GB, free: 14.55 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.1841, allocations: 7.938 kB / 0.7289 GB, free: 14.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003945/0.1845, allocations: 137.5 kB / 0.7291 GB, free: 14.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.1846, allocations: 4 kB / 0.7291 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1846, allocations: 3.938 kB / 0.7291 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.1846, allocations: 0 / 0.7291 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.1847, allocations: 27.91 kB / 0.7291 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.1847, allocations: 0 / 0.7291 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.1849, allocations: 31.88 kB / 0.7291 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.1849, allocations: 7.922 kB / 0.7291 GB, free: 14.33 MB / 0.545 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.0001136/0.185, allocations: 121.8 kB / 0.7292 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.1e-05/0.1851, allocations: 7.953 kB / 0.7292 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002856/0.1854, allocations: 93.83 kB / 0.7293 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1854, allocations: 4 kB / 0.7293 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.1854, allocations: 4 kB / 0.7293 GB, free: 14.08 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.1854, allocations: 0 / 0.7293 GB, free: 14.08 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003443/0.1857, allocations: 205.4 kB / 0.7295 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1857, allocations: 0 / 0.7295 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.1858, allocations: 19.97 kB / 0.7296 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1858, allocations: 0 / 0.7296 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.1858, allocations: 4 kB / 0.7296 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.1858, allocations: 0 / 0.7296 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1858, allocations: 0 / 0.7296 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000505/0.1864, allocations: 377.9 kB / 0.7299 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.781e-05/0.1864, allocations: 93 kB / 0.73 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.1865, allocations: 0 / 0.73 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.1867, allocations: 15.98 kB / 0.73 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.43e-05/0.1868, allocations: 31.89 kB / 0.7301 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.1868, allocations: 0 / 0.7301 GB, free: 13.27 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001021/0.1869, allocations: 118.5 kB / 0.7302 GB, free: 13.16 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1869, allocations: 0 / 0.7302 GB, free: 13.16 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004113/0.1873, allocations: 15.95 kB / 0.7302 GB, free: 13.14 MB / 0.545 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.0009449/0.1882, allocations: 0.9102 MB / 0.7311 GB, free: 12.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004413/0.1887, allocations: 100.1 kB / 0.7312 GB, free: 12.11 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1887, allocations: 0 / 0.7312 GB, free: 12.11 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001892/0.1889, allocations: 48 kB / 0.7312 GB, free: 12.06 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005288/0.1894, allocations: 13.19 kB / 0.7312 GB, free: 12.05 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002471/0.1919, allocations: 1.824 MB / 0.733 GB, free: 10.12 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.1922, allocations: 0.7039 MB / 0.7337 GB, free: 9.391 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.924e-05/0.1923, allocations: 16.64 kB / 0.7337 GB, free: 9.371 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.603e-05/0.1924, allocations: 35.42 kB / 0.7337 GB, free: 9.336 MB / 0.545 GB Notification: Performance of SimCode: time 5.61e-07/0.1924, allocations: 4 kB / 0.7338 GB, free: 9.332 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01956/0.212, allocations: 2.743 MB / 0.7364 GB, free: 6.719 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.366/8.578, allocations: 14.31 kB / 0.7364 GB, free: 6.707 MB / 0.545 GB " [Timeout remaining time 651] (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 os._exit(0), Time elapsed: 12.691062183992472] Failed to read output from testmodel.py, exit status != 0: 8.704875655996148 8.733829295 8.54994767 Calling exit ...