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.0008891/0.0008891, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005871/0.005871, allocations: 170 kB / 16.26 MB, free: 6.613 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.491/1.491, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.782/1.782, allocations: 292.7 MB / 0.5502 GB, free: 14.5 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.0005644/0.0005645, allocations: 19.52 kB / 0.6743 GB, free: 25.65 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2462, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002531/0.2488, allocations: 1.724 MB / 0.7896 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.2499, allocations: 0.5932 MB / 0.7902 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.862e-05/0.25, allocations: 11.94 kB / 0.7902 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.2502, allocations: 11.86 kB / 0.7902 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.565e-05/0.2502, allocations: 19.8 kB / 0.7902 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.2505, allocations: 75.86 kB / 0.7903 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002122/0.2507, allocations: 208 kB / 0.7905 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002251/0.251, allocations: 107.6 kB / 0.7906 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.2511, allocations: 63.64 kB / 0.7906 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.2512, allocations: 71.56 kB / 0.7907 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.672e-05/0.2512, allocations: 8 kB / 0.7907 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.706e-05/0.2513, allocations: 11.98 kB / 0.7907 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.466e-05/0.2514, allocations: 35.78 kB / 0.7907 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.2515, allocations: 109.1 kB / 0.7909 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002602/0.2518, allocations: 247.4 kB / 0.7911 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2518, allocations: 4 kB / 0.7911 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2518, allocations: 0 / 0.7911 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.2518, allocations: 0 / 0.7911 GB, free: 8.25 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.000728/0.2525, allocations: 0.4908 MB / 0.7916 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.2526, allocations: 12.03 kB / 0.7916 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.773e-05/0.2527, allocations: 24.66 kB / 0.7916 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003352/0.253, allocations: 260.4 kB / 0.7919 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.253, allocations: 12.38 kB / 0.7919 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/0.2531, allocations: 16.38 kB / 0.7919 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004078/0.2535, allocations: 241.7 kB / 0.7921 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.2535, allocations: 0 / 0.7921 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.575e-05/0.2535, allocations: 12 kB / 0.7921 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.2535, allocations: 4 kB / 0.7921 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003195/0.2539, allocations: 151.7 kB / 0.7923 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000945/0.2548, allocations: 0.5974 MB / 0.7929 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003656/0.2552, allocations: 126.7 kB / 0.793 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.2553, allocations: 52.84 kB / 0.793 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.166e-05/0.2554, allocations: 4 kB / 0.793 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.2554, allocations: 42.69 kB / 0.7931 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.512e-06/0.2554, allocations: 0 / 0.7931 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0004725/0.2559, allocations: 181.3 kB / 0.7932 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.017e-05/0.256, allocations: 136.5 kB / 0.7934 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.2562, allocations: 212.2 kB / 0.7936 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.2562, allocations: 33.7 kB / 0.7936 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.2564, allocations: 144.2 kB / 0.7937 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/0.2564, allocations: 31.55 kB / 0.7938 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.001e-05/0.2565, allocations: 25.7 kB / 0.7938 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.2566, allocations: 326.8 kB / 0.7941 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.2567, allocations: 55.97 kB / 0.7942 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.2569, allocations: 91.52 kB / 0.7943 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002417/0.2571, allocations: 101.6 kB / 0.7944 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2571, allocations: 4 kB / 0.7944 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003177/0.2575, allocations: 153.5 kB / 0.7945 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.2575, allocations: 4 kB / 0.7945 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.2575, allocations: 4.031 kB / 0.7945 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.2575, allocations: 0 / 0.7945 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.2576, allocations: 27.86 kB / 0.7945 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.2577, allocations: 3.984 kB / 0.7945 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.2578, allocations: 39.83 kB / 0.7946 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.2579, allocations: 4 kB / 0.7946 GB, free: 4.398 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.0001222/0.258, allocations: 137.8 kB / 0.7947 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.181e-05/0.258, allocations: 15.81 kB / 0.7947 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003583/0.2584, allocations: 154.9 kB / 0.7949 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.2584, allocations: 7.938 kB / 0.7949 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.2584, allocations: 0 / 0.7949 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.2584, allocations: 0 / 0.7949 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.2587, allocations: 269.4 kB / 0.7951 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.2587, allocations: 3.984 kB / 0.7951 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.356e-05/0.2588, allocations: 15.94 kB / 0.7952 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.2588, allocations: 4 kB / 0.7952 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.2589, allocations: 8.453 kB / 0.7952 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.2589, allocations: 3.938 kB / 0.7952 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2589, allocations: 0 / 0.7952 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003314/0.2592, allocations: 243.2 kB / 0.7954 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.312e-05/0.2593, allocations: 92.92 kB / 0.7955 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.224e-05/0.2593, allocations: 4 kB / 0.7955 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.2595, allocations: 39.91 kB / 0.7955 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.03e-05/0.2596, allocations: 19.97 kB / 0.7956 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.2596, allocations: 7.984 kB / 0.7956 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001361/0.2597, allocations: 155.5 kB / 0.7957 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2597, allocations: 0 / 0.7957 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002763/0.26, allocations: 39.84 kB / 0.7958 GB, free: 3.102 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.0001845/0.2602, allocations: 118.4 kB / 0.7959 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002978/0.2605, allocations: 115.9 kB / 0.796 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2605, allocations: 0 / 0.796 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.2607, allocations: 63.98 kB / 0.796 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.261, allocations: 19.98 kB / 0.7961 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006209/0.2617, allocations: 403.6 kB / 0.7964 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.262, allocations: 0.7322 MB / 0.7972 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.72e-05/0.2621, allocations: 25.45 kB / 0.7972 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.938e-05/0.2622, allocations: 19.42 kB / 0.7972 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of SimCode: time 3.71e-07/0.2622, allocations: 288 / 0.7972 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of Templates: time 0.004896/0.2671, allocations: 1.877 MB / 0.799 GB, free: 15.71 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: