Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.517/1.517, allocations: 252 MB / 267.3 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 164.6 kB / 327 MB, free: 2.117 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.112/2.112, allocations: 205.4 MB / 0.578 GB, free: 20.11 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009528/0.0009525, allocations: 86.34 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003785/0.0003785, allocations: 12.42 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2776, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.003684/0.2813, allocations: 2.515 MB / 0.9034 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002634/0.284, allocations: 1.228 MB / 0.9046 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005623/0.2846, allocations: 11.94 kB / 0.9046 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006519/0.2853, allocations: 131.4 kB / 0.9047 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005702/0.2859, allocations: 119.4 kB / 0.9048 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008261/0.2867, allocations: 249.9 kB / 0.9051 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006896/0.2874, allocations: 443.4 kB / 0.9055 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004394/0.2879, allocations: 182.5 kB / 0.9057 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003663/0.2883, allocations: 139.2 kB / 0.9058 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003033/0.2886, allocations: 155 kB / 0.9059 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.012e-05/0.2886, allocations: 8 kB / 0.906 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001923/0.2888, allocations: 51.98 kB / 0.906 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.289, allocations: 63.62 kB / 0.9061 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001762/0.2892, allocations: 164.7 kB / 0.9062 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005195/0.2897, allocations: 494.4 kB / 0.9067 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.2897, allocations: 0 / 0.9067 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.855e-06/0.2897, allocations: 0 / 0.9067 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.527e-05/0.2897, allocations: 0 / 0.9067 GB, free: 57.46 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001171/0.2909, allocations: 0.6349 MB / 0.9073 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.291, allocations: 8.031 kB / 0.9073 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001047/0.2911, allocations: 62.72 kB / 0.9074 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.829e-05/0.2912, allocations: 48.31 kB / 0.9074 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006106/0.2918, allocations: 394.7 kB / 0.9078 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.2919, allocations: 20.88 kB / 0.9078 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.614e-05/0.2919, allocations: 31.94 kB / 0.9079 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005364/0.2925, allocations: 283.6 kB / 0.9081 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.2925, allocations: 0 / 0.9081 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.112e-05/0.2925, allocations: 8 kB / 0.9081 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.2925, allocations: 8 kB / 0.9081 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004471/0.293, allocations: 186.2 kB / 0.9083 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.2944, allocations: 0.8841 MB / 0.9092 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000703/0.2952, allocations: 223 kB / 0.9094 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/0.2954, allocations: 99.25 kB / 0.9095 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.559e-05/0.2954, allocations: 0 / 0.9095 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003326/0.2957, allocations: 149.5 kB / 0.9096 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 1.754e-06/0.2958, allocations: 0 / 0.9096 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20): time 0.0006739/0.2964, allocations: 293.1 kB / 0.9099 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.2965, allocations: 59.41 kB / 0.91 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003936/0.2969, allocations: 421.4 kB / 0.9104 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.2969, allocations: 37.7 kB / 0.9104 GB, free: 53.44 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.2971, allocations: 212.1 kB / 0.9106 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.937e-05/0.2971, allocations: 55.17 kB / 0.9107 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.385e-05/0.2971, allocations: 4 kB / 0.9107 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.907e-05/0.2972, allocations: 354.7 kB / 0.911 GB, free: 52.81 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.2974, allocations: 72.42 kB / 0.9111 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.2976, allocations: 114 kB / 0.9112 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000341/0.2979, allocations: 190.4 kB / 0.9114 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.2979, allocations: 0 / 0.9114 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004906/0.2984, allocations: 264 kB / 0.9116 GB, free: 52.15 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.2985, allocations: 8 kB / 0.9116 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2985, allocations: 0 / 0.9116 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.2985, allocations: 4 kB / 0.9116 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.2987, allocations: 51.91 kB / 0.9117 GB, free: 52.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.2988, allocations: 0 / 0.9117 GB, free: 52.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/0.2989, allocations: 27.7 kB / 0.9117 GB, free: 52.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.299, allocations: 12 kB / 0.9117 GB, free: 52.05 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.cooMod.nextTimeEvent,$whenCondition2,dxSpeCon.not1.y,cooMod.nextTimeEvent,$PRE.cooMod.nextTimeEventScaled,cooMod.nextTimeEventScaled,reaToInt.y,dxSpeCon.conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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.0001799/0.2991, allocations: 176.7 kB / 0.9119 GB, free: 51.87 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.568e-05/0.2992, allocations: 35.53 kB / 0.9119 GB, free: 51.83 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.514e-05/0.2993, allocations: 39.59 kB / 0.912 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.2993, allocations: 0 / 0.912 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.2993, allocations: 7.984 kB / 0.912 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.2993, allocations: 7.875 kB / 0.912 GB, free: 51.78 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008681/0.3002, allocations: 0.6879 MB / 0.9126 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.3002, allocations: 0 / 0.9126 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/0.3004, allocations: 27.98 kB / 0.9127 GB, free: 51.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.3004, allocations: 3.938 kB / 0.9127 GB, free: 51 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.3004, allocations: 15.92 kB / 0.9127 GB, free: 50.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.3004, allocations: 0 / 0.9127 GB, free: 50.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3005, allocations: 3.938 kB / 0.9127 GB, free: 50.98 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006875/0.3011, allocations: 430.9 kB / 0.9131 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.3013, allocations: 128.7 kB / 0.9132 GB, free: 50.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.178e-05/0.3013, allocations: 4 kB / 0.9132 GB, free: 50.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.3015, allocations: 11.98 kB / 0.9132 GB, free: 50.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.141e-05/0.3016, allocations: 16.05 kB / 0.9133 GB, free: 50.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.5e-05/0.3016, allocations: 15.98 kB / 0.9133 GB, free: 50.36 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002699/0.3019, allocations: 287.2 kB / 0.9135 GB, free: 50.07 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3019, allocations: 0 / 0.9135 GB, free: 50.07 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003345/0.3022, allocations: 63.75 kB / 0.9136 GB, free: 50.01 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dxSpeCon.dxSpe.I.y) * Number of discrete variables: 6 (dxSpeCon.not1.y,$whenCondition2,$whenCondition1,cooMod.nextTimeEvent,cooMod.nextTimeEventScaled,reaToInt.y) * Number of discrete states: 2 (cooMod.nextTimeEvent,cooMod.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001919/0.3041, allocations: 1.281 MB / 0.9149 GB, free: 48.87 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004322/0.3046, allocations: 189.7 kB / 0.915 GB, free: 48.68 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3046, allocations: 0 / 0.915 GB, free: 48.68 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001871/0.3048, allocations: 87.89 kB / 0.9151 GB, free: 48.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005868/0.3054, allocations: 81.5 kB / 0.9152 GB, free: 48.52 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004085/0.3095, allocations: 3.223 MB / 0.9183 GB, free: 45.19 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.3098, allocations: 0.8029 MB / 0.9191 GB, free: 44.36 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001991/0.31, allocations: 42.95 kB / 0.9192 GB, free: 44.31 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.3101, allocations: 127.4 kB / 0.9193 GB, free: 44.19 MB / 0.6042 GB Notification: Performance of SimCode: time 7.21e-07/0.3102, allocations: 0 / 0.9193 GB, free: 44.19 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0207/0.3309, allocations: 6.884 MB / 0.926 GB, free: 37.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002225/0.3311, allocations: 284.3 kB / 0.9263 GB, free: 37.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.633/2.964, allocations: 2.812 kB / 0.9263 GB, free: 37.12 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.fmu > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1)