Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="BuildSysPro_BuildSysPro_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.004835/0.004835, allocations: 99.92 kB / 15.73 MB, free: 6.047 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.001094/0.001094, allocations: 185.3 kB / 16.67 MB, free: 5.977 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9713/0.9713, allocations: 143 MB / 433.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 63.89 kB / 0.5951 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3703, allocations: 82.02 MB / 0.6752 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002961/0.3733, allocations: 2.028 MB / 0.6772 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.3745, allocations: 0.5737 MB / 0.6777 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.3747, allocations: 7.562 kB / 0.6777 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001411/0.3748, allocations: 19.73 kB / 0.6777 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.3749, allocations: 34.73 kB / 0.6778 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003313/0.3753, allocations: 83 kB / 0.6779 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002847/0.3756, allocations: 223.4 kB / 0.6781 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002658/0.3759, allocations: 116.4 kB / 0.6782 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001789/0.376, allocations: 95.53 kB / 0.6783 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.3762, allocations: 97.62 kB / 0.6784 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.814e-05/0.3762, allocations: 25.09 kB / 0.6784 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.593e-05/0.3763, allocations: 30.97 kB / 0.6784 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.9e-05/0.3764, allocations: 59.61 kB / 0.6785 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.766e-05/0.3765, allocations: 109.7 kB / 0.6786 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003383/0.3769, allocations: 286 kB / 0.6788 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3769, allocations: 0 / 0.6788 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3769, allocations: 1.094 kB / 0.6788 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.3769, allocations: 0 / 0.6788 GB, free: 14.27 MB / 0.5137 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.0008296/0.3777, allocations: 0.5173 MB / 0.6794 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.3778, allocations: 13.25 kB / 0.6794 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.203e-05/0.3779, allocations: 52.77 kB / 0.6794 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.415e-05/0.3779, allocations: 26.5 kB / 0.6794 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003022/0.3782, allocations: 252.8 kB / 0.6797 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.3783, allocations: 15.19 kB / 0.6797 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.3783, allocations: 16.31 kB / 0.6797 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004235/0.3787, allocations: 236.7 kB / 0.6799 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.3787, allocations: 0 / 0.6799 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.3788, allocations: 10.09 kB / 0.6799 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.3788, allocations: 4.531 kB / 0.68 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003002/0.3791, allocations: 136.6 kB / 0.6801 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008959/0.38, allocations: 0.5929 MB / 0.6807 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003665/0.3804, allocations: 113.3 kB / 0.6808 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.3805, allocations: 48.19 kB / 0.6808 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.783e-05/0.3806, allocations: 13.19 kB / 0.6808 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.3806, allocations: 32.91 kB / 0.6809 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.3806, allocations: 0 / 0.6809 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0004738/0.3811, allocations: 173.2 kB / 0.681 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.755e-05/0.3812, allocations: 130.3 kB / 0.6812 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.3813, allocations: 210.3 kB / 0.6814 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.3814, allocations: 37.2 kB / 0.6814 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.703e-05/0.3815, allocations: 147.9 kB / 0.6815 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.3815, allocations: 27.11 kB / 0.6816 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.92e-05/0.3816, allocations: 38.23 kB / 0.6816 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.627e-05/0.3817, allocations: 331.8 kB / 0.6819 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.3818, allocations: 48.27 kB / 0.682 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.382, allocations: 82.86 kB / 0.682 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/0.3822, allocations: 94.88 kB / 0.6821 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3822, allocations: 1.094 kB / 0.6821 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003108/0.3825, allocations: 162.4 kB / 0.6823 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.3825, allocations: 8.562 kB / 0.6823 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3825, allocations: 1.125 kB / 0.6823 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.3826, allocations: 9.062 kB / 0.6823 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.3827, allocations: 16.39 kB / 0.6823 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.3827, allocations: 1.125 kB / 0.6823 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.3828, allocations: 29.56 kB / 0.6823 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.3828, allocations: 3.75 kB / 0.6823 GB, free: 11.29 MB / 0.5137 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.0001181/0.383, allocations: 138.1 kB / 0.6825 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.124e-05/0.383, allocations: 20.81 kB / 0.6825 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003209/0.3834, allocations: 142.8 kB / 0.6826 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.3834, allocations: 5.125 kB / 0.6826 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.3834, allocations: 1.656 kB / 0.6826 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.3834, allocations: 3.938 kB / 0.6826 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002592/0.3837, allocations: 268.8 kB / 0.6829 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.3837, allocations: 3.984 kB / 0.6829 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.527e-05/0.3838, allocations: 19.45 kB / 0.6829 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.3838, allocations: 5.125 kB / 0.6829 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.3838, allocations: 5.219 kB / 0.6829 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.3838, allocations: 3.938 kB / 0.6829 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3838, allocations: 0 / 0.6829 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000299/0.3841, allocations: 226.1 kB / 0.6831 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.464e-05/0.3842, allocations: 96.36 kB / 0.6832 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.142e-05/0.3842, allocations: 14.33 kB / 0.6833 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.3844, allocations: 19.67 kB / 0.6833 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.893e-05/0.3845, allocations: 26.42 kB / 0.6833 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.3845, allocations: 2.75 kB / 0.6833 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00011/0.3846, allocations: 149.7 kB / 0.6834 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.433e-06/0.3846, allocations: 1.375 kB / 0.6834 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002705/0.3849, allocations: 39.28 kB / 0.6835 GB, free: 10.3 MB / 0.5137 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.000571/0.3855, allocations: 0.772 MB / 0.6842 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002928/0.3858, allocations: 113.8 kB / 0.6843 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3858, allocations: 4.062 kB / 0.6843 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.3859, allocations: 54.3 kB / 0.6844 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.3863, allocations: 29.53 kB / 0.6844 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/0.3885, allocations: 1.986 MB / 0.6864 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.3888, allocations: 0.7293 MB / 0.6871 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.703e-05/0.3888, allocations: 24.2 kB / 0.6871 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.389, allocations: 65.31 kB / 0.6872 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of SimCode: time 3.3e-07/0.389, allocations: 0 / 0.6872 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02067/0.4096, allocations: 4.094 MB / 0.6912 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.431/7.841, allocations: 9.031 kB / 0.6912 GB, free: 5.094 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)