Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 105.8 kB / 16.27 MB, free: 5.98 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.001293/0.001293, allocations: 189.5 kB / 17.2 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.163/1.163, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6633/0.6633, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 59.91 kB / 0.4912 GB, free: 7.348 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2759, allocations: 77.93 MB / 0.5673 GB, free: 32.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002682/0.2786, allocations: 2.013 MB / 0.5693 GB, free: 31.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007005/0.2793, allocations: 0.5739 MB / 0.5698 GB, free: 30.62 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.544e-05/0.2794, allocations: 2.344 kB / 0.5698 GB, free: 30.62 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.611e-05/0.2795, allocations: 22.16 kB / 0.5698 GB, free: 30.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.269e-05/0.2796, allocations: 39.97 kB / 0.5699 GB, free: 30.58 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.2798, allocations: 71.25 kB / 0.57 GB, free: 30.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000171/0.28, allocations: 237.8 kB / 0.5702 GB, free: 30.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.2802, allocations: 114.5 kB / 0.5703 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.2803, allocations: 91.86 kB / 0.5704 GB, free: 30.31 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.2804, allocations: 103.7 kB / 0.5705 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.742e-05/0.2805, allocations: 25.19 kB / 0.5705 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.684e-05/0.2805, allocations: 33.14 kB / 0.5705 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.086e-05/0.2806, allocations: 52.84 kB / 0.5706 GB, free: 30.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.456e-05/0.2807, allocations: 110.6 kB / 0.5707 GB, free: 30.13 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002343/0.2809, allocations: 266.5 kB / 0.5709 GB, free: 30.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.2809, allocations: 0 / 0.5709 GB, free: 30.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2809, allocations: 1.25 kB / 0.5709 GB, free: 30.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.2809, allocations: 1.125 kB / 0.5709 GB, free: 30.02 MB / 446.1 MB 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.0005874/0.2815, allocations: 0.5163 MB / 0.5714 GB, free: 29.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.2816, allocations: 15.06 kB / 0.5715 GB, free: 29.57 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.939e-05/0.2816, allocations: 52.69 kB / 0.5715 GB, free: 29.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.547e-05/0.2817, allocations: 26.92 kB / 0.5715 GB, free: 29.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.2819, allocations: 254.5 kB / 0.5718 GB, free: 29.26 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.282, allocations: 15.69 kB / 0.5718 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.282, allocations: 16.62 kB / 0.5718 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003301/0.2823, allocations: 225.1 kB / 0.572 GB, free: 29.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.2823, allocations: 0 / 0.572 GB, free: 29.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.2824, allocations: 6.562 kB / 0.572 GB, free: 29.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.2824, allocations: 4.281 kB / 0.572 GB, free: 29.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002747/0.2827, allocations: 144.9 kB / 0.5722 GB, free: 29.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007311/0.2834, allocations: 0.5935 MB / 0.5728 GB, free: 28.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000305/0.2837, allocations: 117.8 kB / 0.5729 GB, free: 28.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.908e-05/0.2838, allocations: 48.03 kB / 0.5729 GB, free: 28.58 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.2839, allocations: 5.531 kB / 0.5729 GB, free: 28.58 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.34e-05/0.2839, allocations: 39.44 kB / 0.573 GB, free: 28.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.2839, allocations: 0 / 0.573 GB, free: 28.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003826/0.2843, allocations: 171.8 kB / 0.5731 GB, free: 28.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.2843, allocations: 132.2 kB / 0.5732 GB, free: 28.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.2845, allocations: 213.3 kB / 0.5734 GB, free: 28.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.2845, allocations: 35.92 kB / 0.5735 GB, free: 28.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.004e-05/0.2845, allocations: 145.4 kB / 0.5736 GB, free: 28 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.2846, allocations: 32 kB / 0.5736 GB, free: 27.97 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.432e-05/0.2846, allocations: 38.7 kB / 0.5737 GB, free: 27.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.53e-05/0.2847, allocations: 329.8 kB / 0.574 GB, free: 27.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.2848, allocations: 42.39 kB / 0.574 GB, free: 27.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.2849, allocations: 86.19 kB / 0.5741 GB, free: 27.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.2851, allocations: 96.47 kB / 0.5742 GB, free: 27.51 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2851, allocations: 0 / 0.5742 GB, free: 27.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002648/0.2854, allocations: 152.4 kB / 0.5744 GB, free: 27.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.2854, allocations: 7.344 kB / 0.5744 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.2854, allocations: 0 / 0.5744 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.2854, allocations: 9.469 kB / 0.5744 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.952e-05/0.2855, allocations: 22.89 kB / 0.5744 GB, free: 27.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.2855, allocations: 1.125 kB / 0.5744 GB, free: 27.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.2857, allocations: 35.86 kB / 0.5744 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.2857, allocations: 4.984 kB / 0.5744 GB, free: 27.41 MB / 446.1 MB 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 8.298e-05/0.2858, allocations: 137.1 kB / 0.5746 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.973e-05/0.2858, allocations: 16.31 kB / 0.5746 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002913/0.2861, allocations: 149.3 kB / 0.5747 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.2862, allocations: 6.094 kB / 0.5747 GB, free: 27.19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2862, allocations: 1.094 kB / 0.5747 GB, free: 27.19 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.2862, allocations: 2.266 kB / 0.5747 GB, free: 27.19 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002059/0.2864, allocations: 267.8 kB / 0.575 GB, free: 26.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2864, allocations: 0.875 kB / 0.575 GB, free: 26.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.319e-05/0.2865, allocations: 19.02 kB / 0.575 GB, free: 26.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2865, allocations: 2.781 kB / 0.575 GB, free: 26.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.2865, allocations: 7.328 kB / 0.575 GB, free: 26.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2865, allocations: 3.938 kB / 0.575 GB, free: 26.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2865, allocations: 0 / 0.575 GB, free: 26.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.2868, allocations: 230.3 kB / 0.5752 GB, free: 26.78 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.089e-05/0.2868, allocations: 102.2 kB / 0.5753 GB, free: 26.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.997e-05/0.2869, allocations: 2.734 kB / 0.5753 GB, free: 26.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.287, allocations: 25.72 kB / 0.5754 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.2871, allocations: 24.17 kB / 0.5754 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.2871, allocations: 3.359 kB / 0.5754 GB, free: 26.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.526e-05/0.2872, allocations: 155.2 kB / 0.5755 GB, free: 26.56 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2872, allocations: 0 / 0.5755 GB, free: 26.56 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002488/0.2875, allocations: 41.53 kB / 0.5756 GB, free: 26.55 MB / 446.1 MB 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.0004212/0.2879, allocations: 0.7708 MB / 0.5763 GB, free: 25.85 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002702/0.2882, allocations: 112.5 kB / 0.5764 GB, free: 25.81 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2882, allocations: 5.469 kB / 0.5764 GB, free: 25.81 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.2883, allocations: 50.22 kB / 0.5765 GB, free: 25.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.2886, allocations: 24 kB / 0.5765 GB, free: 25.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00177/0.2904, allocations: 1.99 MB / 0.5785 GB, free: 24.28 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.2905, allocations: 0.7292 MB / 0.5792 GB, free: 23.58 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.806e-05/0.2906, allocations: 19.41 kB / 0.5792 GB, free: 23.58 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.864e-05/0.2907, allocations: 65.94 kB / 0.5793 GB, free: 23.54 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2907, allocations: 0 / 0.5793 GB, free: 23.54 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.417/0.7077, allocations: 3.96 MB / 0.5831 GB, free: 22.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.04/10.75, allocations: 7.906 kB / 0.5831 GB, free: 22.38 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)