Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001176, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 195.9 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.528/1.528, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.725/1.725, allocations: 292.3 MB / 0.5489 GB, free: 12.82 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 68.19 kB / 0.6715 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2387, allocations: 114.5 MB / 0.7834 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003593/0.2423, allocations: 2.036 MB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.2436, allocations: 0.6126 MB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.2437, allocations: 0 / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.2439, allocations: 23.72 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.228e-05/0.244, allocations: 31.61 kB / 0.786 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003377/0.2443, allocations: 87.83 kB / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.2446, allocations: 228 kB / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000251/0.2448, allocations: 112.3 kB / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.245, allocations: 87.64 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.2451, allocations: 103.5 kB / 0.7866 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.179e-05/0.2452, allocations: 24 kB / 0.7866 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.56e-05/0.2453, allocations: 36 kB / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.686e-05/0.2453, allocations: 55.77 kB / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.2455, allocations: 115.4 kB / 0.7868 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003223/0.2458, allocations: 263.4 kB / 0.7871 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.2458, allocations: 0 / 0.7871 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.863e-06/0.2458, allocations: 0 / 0.7871 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.2458, allocations: 0 / 0.7871 GB, free: 9.641 MB / 0.6075 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.0008313/0.2467, allocations: 0.5181 MB / 0.7876 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.2467, allocations: 11.97 kB / 0.7876 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.176e-05/0.2468, allocations: 28.66 kB / 0.7876 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003402/0.2471, allocations: 252.5 kB / 0.7879 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.2472, allocations: 20.31 kB / 0.7879 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.902e-05/0.2472, allocations: 16.38 kB / 0.7879 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004028/0.2476, allocations: 225.9 kB / 0.7881 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.2476, allocations: 4 kB / 0.7881 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.2477, allocations: 8 kB / 0.7881 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.2477, allocations: 4 kB / 0.7881 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003035/0.248, allocations: 139.7 kB / 0.7883 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009465/0.249, allocations: 0.5935 MB / 0.7888 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003461/0.2493, allocations: 122.7 kB / 0.789 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.2494, allocations: 44.84 kB / 0.789 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.2495, allocations: 4 kB / 0.789 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.2495, allocations: 38.67 kB / 0.789 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.223e-06/0.2495, allocations: 0 / 0.789 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0004566/0.25, allocations: 169.4 kB / 0.7892 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.874e-05/0.25, allocations: 136.5 kB / 0.7893 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.2502, allocations: 218.9 kB / 0.7895 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.2503, allocations: 29.7 kB / 0.7896 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.657e-05/0.2504, allocations: 140.2 kB / 0.7897 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.2504, allocations: 27.64 kB / 0.7897 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.361e-05/0.2505, allocations: 37.7 kB / 0.7898 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.2506, allocations: 338.8 kB / 0.7901 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.2507, allocations: 43.98 kB / 0.7901 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.2508, allocations: 88.25 kB / 0.7902 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/0.2511, allocations: 93.62 kB / 0.7903 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2511, allocations: 0 / 0.7903 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003022/0.2514, allocations: 152.4 kB / 0.7904 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.2514, allocations: 4 kB / 0.7904 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.2514, allocations: 4 kB / 0.7905 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.2514, allocations: 3.938 kB / 0.7905 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.2516, allocations: 20.3 kB / 0.7905 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.2516, allocations: 0 / 0.7905 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.2517, allocations: 39.89 kB / 0.7905 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.2518, allocations: 11.92 kB / 0.7905 GB, free: 5.824 MB / 0.6075 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 0.0001228/0.2519, allocations: 134.7 kB / 0.7907 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.332e-05/0.2519, allocations: 15.81 kB / 0.7907 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003577/0.2523, allocations: 151 kB / 0.7908 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.2523, allocations: 7.938 kB / 0.7908 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.2523, allocations: 4 kB / 0.7908 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.2523, allocations: 0 / 0.7908 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002845/0.2526, allocations: 261.5 kB / 0.7911 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.2526, allocations: 7.938 kB / 0.7911 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.39e-05/0.2527, allocations: 11.98 kB / 0.7911 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2527, allocations: 0 / 0.7911 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.2528, allocations: 8 kB / 0.7911 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.2528, allocations: 3.938 kB / 0.7911 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.2528, allocations: 3.984 kB / 0.7911 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003111/0.2531, allocations: 227.3 kB / 0.7913 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.135e-05/0.2532, allocations: 96.91 kB / 0.7914 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.36e-05/0.2532, allocations: 4 kB / 0.7914 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.2534, allocations: 19.92 kB / 0.7914 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.391e-05/0.2534, allocations: 27.95 kB / 0.7915 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.2535, allocations: 4 kB / 0.7915 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001279/0.2536, allocations: 160.5 kB / 0.7916 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2536, allocations: 0 / 0.7916 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002863/0.2539, allocations: 35.84 kB / 0.7917 GB, free: 4.566 MB / 0.6075 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.0001534/0.2541, allocations: 115.2 kB / 0.7918 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003203/0.2544, allocations: 124 kB / 0.7919 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2544, allocations: 4.062 kB / 0.7919 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.2545, allocations: 51.97 kB / 0.7919 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.2549, allocations: 18.5 kB / 0.792 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005992/0.2555, allocations: 340.8 kB / 0.7923 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.2558, allocations: 0.728 MB / 0.793 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.275e-05/0.2559, allocations: 21.42 kB / 0.793 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.126e-05/0.2559, allocations: 23.42 kB / 0.793 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2559, allocations: 3.938 kB / 0.793 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of Templates: time 0.005078/0.261, allocations: 2.168 MB / 0.7952 GB, free: 0.9414 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)