Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.393/1.393, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000958/0.0009581, allocations: 174.1 kB / 326.5 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.219/2.219, allocations: 205 MB / 0.5766 GB, free: 20.96 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008128/0.0008127, allocations: 100.1 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003342/0.0003342, allocations: 13.34 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.223, allocations: 105.4 MB / 0.8967 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.00191/0.2249, allocations: 1.764 MB / 0.8985 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008458/0.2258, allocations: 0.6083 MB / 0.8991 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.959e-05/0.2259, allocations: 4 kB / 0.8991 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.226, allocations: 11.86 kB / 0.8991 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.026e-05/0.2261, allocations: 27.72 kB / 0.8991 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.2264, allocations: 63.94 kB / 0.8992 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001585/0.2265, allocations: 216 kB / 0.8994 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001805/0.2267, allocations: 107.6 kB / 0.8995 GB, free: 65.35 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.2268, allocations: 59.72 kB / 0.8995 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.971e-05/0.2269, allocations: 83.42 kB / 0.8996 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.227, allocations: 8 kB / 0.8996 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.154e-05/0.227, allocations: 11.98 kB / 0.8996 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.192e-05/0.2271, allocations: 27.86 kB / 0.8997 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.443e-05/0.2271, allocations: 83.47 kB / 0.8997 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.2273, allocations: 195.5 kB / 0.8999 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2273, allocations: 4 kB / 0.8999 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2273, allocations: 0 / 0.8999 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.2273, allocations: 0 / 0.8999 GB, free: 64.88 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0005956/0.2279, allocations: 0.4908 MB / 0.9004 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.228, allocations: 11.97 kB / 0.9004 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.383e-05/0.228, allocations: 24.66 kB / 0.9004 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.2283, allocations: 260.6 kB / 0.9007 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.2283, allocations: 8.375 kB / 0.9007 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.2284, allocations: 24.38 kB / 0.9007 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003497/0.2287, allocations: 229.6 kB / 0.9009 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.2287, allocations: 0 / 0.9009 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/0.2288, allocations: 12 kB / 0.9009 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.2288, allocations: 4 kB / 0.901 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002831/0.2291, allocations: 151.7 kB / 0.9011 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000799/0.2299, allocations: 0.6012 MB / 0.9017 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000324/0.2302, allocations: 130.7 kB / 0.9018 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.2304, allocations: 60.83 kB / 0.9019 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.975e-05/0.2304, allocations: 4 kB / 0.9019 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.2304, allocations: 34.56 kB / 0.9019 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.2305, allocations: 0 / 0.9019 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0004025/0.2309, allocations: 177.6 kB / 0.9021 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.2309, allocations: 144.4 kB / 0.9022 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.2311, allocations: 204.2 kB / 0.9024 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.2311, allocations: 33.7 kB / 0.9024 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.908e-05/0.2312, allocations: 144.2 kB / 0.9026 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.2312, allocations: 35.55 kB / 0.9026 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.2312, allocations: 21.72 kB / 0.9026 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.793e-05/0.2313, allocations: 330.8 kB / 0.9029 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.2314, allocations: 48.36 kB / 0.903 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.2315, allocations: 89.77 kB / 0.9031 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.2317, allocations: 105.6 kB / 0.9032 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2317, allocations: 0 / 0.9032 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002628/0.232, allocations: 172.8 kB / 0.9033 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.232, allocations: 4 kB / 0.9033 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.232, allocations: 0 / 0.9033 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.2321, allocations: 4 kB / 0.9034 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.861e-05/0.2322, allocations: 19.92 kB / 0.9034 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.2322, allocations: 4 kB / 0.9034 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.2323, allocations: 43.84 kB / 0.9034 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.2323, allocations: 7.938 kB / 0.9034 GB, free: 61.03 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (temPro.hysdTConEva.y,$PRE.temPro.hysdTConEva.y,temPro.on.y,temPro.hysLow.y,$PRE.temPro.hysLow.y,temPro.hysHig.y,$PRE.temPro.hysHig.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 9.351e-05/0.2324, allocations: 136.3 kB / 0.9036 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.805e-05/0.2325, allocations: 15.81 kB / 0.9036 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000293/0.2328, allocations: 159 kB / 0.9037 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.2328, allocations: 3.938 kB / 0.9037 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.2328, allocations: 0 / 0.9037 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.2328, allocations: 4.031 kB / 0.9037 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.233, allocations: 269.5 kB / 0.904 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.233, allocations: 0 / 0.904 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.162e-05/0.2331, allocations: 23.98 kB / 0.904 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2331, allocations: 0 / 0.904 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.2331, allocations: 0 / 0.904 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.2332, allocations: 7.938 kB / 0.904 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2332, allocations: 0 / 0.904 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/0.2334, allocations: 239.2 kB / 0.9042 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.132e-05/0.2335, allocations: 92.86 kB / 0.9043 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/0.2335, allocations: 11.98 kB / 0.9043 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.2336, allocations: 27.92 kB / 0.9044 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.942e-05/0.2337, allocations: 27.95 kB / 0.9044 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.2337, allocations: 0 / 0.9044 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.725e-05/0.2338, allocations: 151.7 kB / 0.9045 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2338, allocations: 192 / 0.9045 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002337/0.2341, allocations: 39.91 kB / 0.9046 GB, free: 59.75 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (temPro.hysHig.y,temPro.hysLow.y,temPro.on.y,temPro.hysdTConEva.y) * Number of discrete states: 3 (temPro.hysdTConEva.y,temPro.hysLow.y,temPro.hysHig.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0001415/0.2342, allocations: 127 kB / 0.9047 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002808/0.2345, allocations: 111.9 kB / 0.9048 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.2345, allocations: 8.062 kB / 0.9048 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.2346, allocations: 55.97 kB / 0.9049 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.235, allocations: 16 kB / 0.9049 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000516/0.2355, allocations: 428.4 kB / 0.9053 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/0.2356, allocations: 0.7283 MB / 0.906 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.705e-05/0.2357, allocations: 19.42 kB / 0.906 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2357, allocations: 0 / 0.906 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of Templates: time 0.003264/0.239, allocations: 2.346 MB / 0.9083 GB, free: 55.86 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)