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.001892/0.001892, allocations: 97.11 kB / 19.73 MB, free: 1.871 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.002456/0.002456, allocations: 204.3 kB / 23.04 MB, free: 5.008 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.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 7.727 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.9966/0.9966, allocations: 150 MB / 463.2 MB, free: 10.19 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.003019/0.003019, allocations: 63.12 kB / 0.6413 GB, free: 9.816 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1983, allocations: 89.18 MB / 0.7284 GB, free: 0.707 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.00226/0.2006, allocations: 0.8034 MB / 0.7292 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00135/0.2019, allocations: 0.9132 MB / 0.7301 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.674e-05/0.202, allocations: 4 kB / 0.7301 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.303e-05/0.202, allocations: 11.86 kB / 0.7301 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.2022, allocations: 19.8 kB / 0.7301 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.2024, allocations: 39.89 kB / 0.7302 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.2026, allocations: 119.7 kB / 0.7303 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.2027, allocations: 17.3 kB / 0.7303 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.2029, allocations: 59.78 kB / 0.7303 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.63e-05/0.203, allocations: 47.75 kB / 0.7304 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.937e-05/0.203, allocations: 12 kB / 0.7304 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.723e-05/0.2031, allocations: 20 kB / 0.7304 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.214e-05/0.2031, allocations: 23.92 kB / 0.7304 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.629e-05/0.2032, allocations: 35.78 kB / 0.7305 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.2034, allocations: 131.7 kB / 0.7306 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.2034, allocations: 3.984 kB / 0.7306 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2034, allocations: 4 kB / 0.7306 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.164e-05/0.2034, allocations: 0 / 0.7306 GB, free: 14.44 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.0007833/0.2042, allocations: 369.7 kB / 0.731 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.2042, allocations: 8.031 kB / 0.731 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.01e-05/0.2043, allocations: 42.73 kB / 0.731 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002647/0.2046, allocations: 24.88 kB / 0.731 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005246/0.2051, allocations: 198.5 kB / 0.7312 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.2051, allocations: 4.375 kB / 0.7312 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.2051, allocations: 8.375 kB / 0.7312 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003128/0.2054, allocations: 120.5 kB / 0.7314 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.2054, allocations: 0 / 0.7314 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.2055, allocations: 4 kB / 0.7314 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.2055, allocations: 4 kB / 0.7314 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002955/0.2058, allocations: 79.86 kB / 0.7314 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006724/0.2064, allocations: 456.2 kB / 0.7319 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/0.2067, allocations: 111.7 kB / 0.732 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.2069, allocations: 62.53 kB / 0.732 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.2069, allocations: 7.938 kB / 0.732 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.2069, allocations: 34.56 kB / 0.7321 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/0.2069, allocations: 0 / 0.7321 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0006754/0.2076, allocations: 165.6 kB / 0.7322 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.386e-05/0.2077, allocations: 110.8 kB / 0.7323 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.2078, allocations: 145.7 kB / 0.7325 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.2079, allocations: 33.69 kB / 0.7325 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.837e-05/0.208, allocations: 108.3 kB / 0.7326 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.236e-05/0.208, allocations: 27.78 kB / 0.7326 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.767e-05/0.2081, allocations: 25.7 kB / 0.7327 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.2082, allocations: 326.8 kB / 0.733 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.2084, allocations: 44.03 kB / 0.733 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.2087, allocations: 161.2 kB / 0.7332 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002996/0.209, allocations: 94.45 kB / 0.7333 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.209, allocations: 0 / 0.7333 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003817/0.2093, allocations: 141.7 kB / 0.7334 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.2094, allocations: 8 kB / 0.7334 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.2094, allocations: 0 / 0.7334 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.2094, allocations: 0 / 0.7334 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.2095, allocations: 19.98 kB / 0.7334 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.2095, allocations: 4 kB / 0.7334 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.2097, allocations: 19.92 kB / 0.7335 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.2097, allocations: 4 kB / 0.7335 GB, free: 11.23 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.0001087/0.2098, allocations: 133.7 kB / 0.7336 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.764e-05/0.2098, allocations: 7.953 kB / 0.7336 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002782/0.2101, allocations: 85.98 kB / 0.7337 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.2101, allocations: 0 / 0.7337 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.2101, allocations: 0 / 0.7337 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.2101, allocations: 4 kB / 0.7337 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003148/0.2105, allocations: 172.5 kB / 0.7338 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.2105, allocations: 0 / 0.7338 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.2106, allocations: 27.98 kB / 0.7339 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.2106, allocations: 0 / 0.7339 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.2106, allocations: 4 kB / 0.7339 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.2106, allocations: 3.984 kB / 0.7339 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2106, allocations: 0 / 0.7339 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004919/0.2111, allocations: 370 kB / 0.7342 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.367e-05/0.2111, allocations: 15.89 kB / 0.7342 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.2111, allocations: 8 kB / 0.7343 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.2113, allocations: 15.97 kB / 0.7343 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.123e-05/0.2114, allocations: 31.83 kB / 0.7343 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.2114, allocations: 3.938 kB / 0.7343 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.504e-05/0.2115, allocations: 115.2 kB / 0.7344 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2115, allocations: 0 / 0.7344 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003283/0.2119, allocations: 19.95 kB / 0.7344 GB, free: 10.15 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.000798/0.2127, allocations: 0.8946 MB / 0.7353 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003866/0.213, allocations: 95.86 kB / 0.7354 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.213, allocations: 0 / 0.7354 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001747/0.2132, allocations: 51.97 kB / 0.7354 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004814/0.2137, allocations: 11.94 kB / 0.7355 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/0.2161, allocations: 1.809 MB / 0.7372 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.747e-05/0.2162, allocations: 88.05 kB / 0.7373 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.627e-05/0.2163, allocations: 21.05 kB / 0.7373 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.193e-05/0.2163, allocations: 35.42 kB / 0.7374 GB, free: 7 MB / 0.5606 GB Notification: Performance of SimCode: time 5.31e-07/0.2163, allocations: 0 / 0.7374 GB, free: 7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02933/0.2457, allocations: 3.309 MB / 0.7406 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.11, allocations: 11.48 kB / 0.7406 GB, free: 3.848 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.011021377984434] Failed to read output from testmodel.py, exit status != 0: 11.222137589938939 11.24894437 11.040540964 Calling exit ...