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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(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.00472/0.00472, allocations: 97.62 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.001271/0.001271, allocations: 202.1 kB / 16.68 MB, free: 5.969 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9989/0.9989, allocations: 143.3 MB / 433.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 67.91 kB / 0.5953 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3783/0.3804, allocations: 82.02 MB / 0.6754 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002904/0.3833, allocations: 2.036 MB / 0.6774 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009864/0.3843, allocations: 0.5748 MB / 0.678 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.482e-05/0.3844, allocations: 2.094 kB / 0.678 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001175/0.3846, allocations: 28.8 kB / 0.678 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.794e-05/0.3846, allocations: 35.25 kB / 0.678 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.3849, allocations: 74.42 kB / 0.6781 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002403/0.3852, allocations: 235.4 kB / 0.6783 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002075/0.3854, allocations: 109.5 kB / 0.6784 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.3855, allocations: 92.31 kB / 0.6785 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.3857, allocations: 97.17 kB / 0.6786 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.961e-05/0.3857, allocations: 24.84 kB / 0.6786 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.703e-05/0.3858, allocations: 31.45 kB / 0.6787 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.088e-05/0.3859, allocations: 55.61 kB / 0.6787 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.386, allocations: 109.2 kB / 0.6788 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003382/0.3863, allocations: 296 kB / 0.6791 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3864, allocations: 0 / 0.6791 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3864, allocations: 0 / 0.6791 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.3864, allocations: 0 / 0.6791 GB, free: 14.13 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.0007896/0.3872, allocations: 0.5131 MB / 0.6796 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.3872, allocations: 10.56 kB / 0.6796 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.912e-05/0.3873, allocations: 52.7 kB / 0.6797 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.274e-05/0.3873, allocations: 29.11 kB / 0.6797 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003388/0.3877, allocations: 261.3 kB / 0.6799 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.3877, allocations: 12.31 kB / 0.6799 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.3877, allocations: 20.03 kB / 0.68 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004022/0.3881, allocations: 228.8 kB / 0.6802 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.3882, allocations: 7.984 kB / 0.6802 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.3882, allocations: 6.625 kB / 0.6802 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.3882, allocations: 3.719 kB / 0.6802 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003096/0.3885, allocations: 140.1 kB / 0.6803 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009465/0.3895, allocations: 0.5945 MB / 0.6809 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003542/0.3898, allocations: 123.9 kB / 0.681 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.39, allocations: 44 kB / 0.6811 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.71e-05/0.39, allocations: 2.969 kB / 0.6811 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.3901, allocations: 39.97 kB / 0.6811 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.3901, allocations: 0 / 0.6811 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0004806/0.3905, allocations: 177.2 kB / 0.6813 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.497e-05/0.3906, allocations: 130.2 kB / 0.6814 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.3909, allocations: 214.7 kB / 0.6816 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.245e-05/0.3909, allocations: 31.7 kB / 0.6816 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.391, allocations: 152.7 kB / 0.6818 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.3911, allocations: 31.95 kB / 0.6818 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.815e-05/0.3911, allocations: 33.89 kB / 0.6819 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3913, allocations: 327.4 kB / 0.6822 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.3914, allocations: 47.53 kB / 0.6822 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/0.3916, allocations: 94.64 kB / 0.6823 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002105/0.3918, allocations: 83.56 kB / 0.6824 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.3918, allocations: 1.25 kB / 0.6824 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000317/0.3922, allocations: 158 kB / 0.6825 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.3922, allocations: 8.766 kB / 0.6825 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.3922, allocations: 1.156 kB / 0.6825 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.3922, allocations: 9.125 kB / 0.6826 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.3923, allocations: 24.7 kB / 0.6826 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.3924, allocations: 1.25 kB / 0.6826 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.3925, allocations: 22 kB / 0.6826 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/0.3925, allocations: 3.469 kB / 0.6826 GB, free: 11.14 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.0001428/0.3927, allocations: 140 kB / 0.6827 GB, free: 11 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.308e-05/0.3927, allocations: 19.97 kB / 0.6828 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003559/0.3931, allocations: 147.1 kB / 0.6829 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.3931, allocations: 5.031 kB / 0.6829 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.3931, allocations: 5.281 kB / 0.6829 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3931, allocations: 3.984 kB / 0.6829 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003084/0.3934, allocations: 268.6 kB / 0.6832 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3934, allocations: 0 / 0.6832 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.3936, allocations: 20.02 kB / 0.6832 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3936, allocations: 0 / 0.6832 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.3936, allocations: 5.844 kB / 0.6832 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.3936, allocations: 5.312 kB / 0.6832 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3936, allocations: 0 / 0.6832 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003349/0.3939, allocations: 237 kB / 0.6834 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.039e-05/0.394, allocations: 89.14 kB / 0.6835 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.65e-05/0.3941, allocations: 6.75 kB / 0.6835 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.3942, allocations: 26.91 kB / 0.6835 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.806e-05/0.3943, allocations: 21.59 kB / 0.6836 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.3943, allocations: 10.73 kB / 0.6836 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000157/0.3945, allocations: 147.1 kB / 0.6837 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3945, allocations: 0 / 0.6837 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002729/0.3948, allocations: 40.77 kB / 0.6837 GB, free: 10.15 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.0006981/0.3955, allocations: 0.7795 MB / 0.6845 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003095/0.3958, allocations: 106 kB / 0.6846 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3958, allocations: 0 / 0.6846 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.3959, allocations: 59.22 kB / 0.6847 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.3963, allocations: 20.59 kB / 0.6847 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002598/0.3989, allocations: 1.999 MB / 0.6866 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.3993, allocations: 0.7337 MB / 0.6874 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.626e-05/0.3994, allocations: 23.78 kB / 0.6874 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.3995, allocations: 65.62 kB / 0.6874 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of SimCode: time 3.5e-07/0.3995, allocations: 0 / 0.6874 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02541/0.4249, allocations: 4.006 MB / 0.6914 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.169/8.594, allocations: 6.219 kB / 0.6914 GB, free: 4.992 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)