Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_8_0_0_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.649/2.649, allocations: 287.5 MB / 302.4 MB, free: 8.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001302/0.001302, allocations: 187 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.152/2.152, allocations: 205.4 MB / 0.6297 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009802/0.0009801, allocations: 85.3 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006619/0.0006622, allocations: 10.48 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.228, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.003657/0.2317, allocations: 2.398 MB / 0.9808 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002686/0.2345, allocations: 1.187 MB / 0.982 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002964/0.2348, allocations: 11.94 kB / 0.982 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005072/0.2353, allocations: 127.5 kB / 0.9821 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004169/0.2358, allocations: 111.4 kB / 0.9822 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008287/0.2366, allocations: 203.7 kB / 0.9824 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005419/0.2372, allocations: 407.5 kB / 0.9828 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003028/0.2375, allocations: 144.3 kB / 0.9829 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002753/0.2378, allocations: 135.3 kB / 0.983 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/0.2381, allocations: 139.2 kB / 0.9832 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.308e-05/0.2381, allocations: 8 kB / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001881/0.2383, allocations: 47.97 kB / 0.9832 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.681e-05/0.2384, allocations: 55.7 kB / 0.9833 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.159e-05/0.2385, allocations: 89.45 kB / 0.9834 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004958/0.239, allocations: 391.1 kB / 0.9837 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.239, allocations: 0 / 0.9837 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2391, allocations: 7.938 kB / 0.9838 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.954e-06/0.2391, allocations: 0 / 0.9838 GB, free: 22.79 MB / 0.6198 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.001385/0.2405, allocations: 0.6424 MB / 0.9844 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.2405, allocations: 12.03 kB / 0.9844 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.39e-05/0.2406, allocations: 66.53 kB / 0.9845 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.2408, allocations: 43.44 kB / 0.9845 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007472/0.2415, allocations: 385.7 kB / 0.9849 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/0.2416, allocations: 20.56 kB / 0.9849 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.179e-05/0.2416, allocations: 24 kB / 0.9849 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007286/0.2424, allocations: 271.7 kB / 0.9852 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.2424, allocations: 0 / 0.9852 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.628e-05/0.2425, allocations: 15.95 kB / 0.9852 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.2425, allocations: 4 kB / 0.9852 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006427/0.2431, allocations: 186.2 kB / 0.9854 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002927/0.2461, allocations: 0.8841 MB / 0.9862 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.2475, allocations: 230.9 kB / 0.9864 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003064/0.2479, allocations: 92.81 kB / 0.9865 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.651e-05/0.2479, allocations: 4 kB / 0.9865 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004573/0.2484, allocations: 135.3 kB / 0.9867 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 2.815e-06/0.2484, allocations: 0 / 0.9867 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20): time 0.001052/0.2495, allocations: 303.2 kB / 0.987 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.2495, allocations: 51.41 kB / 0.987 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005575/0.2501, allocations: 413.6 kB / 0.9874 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.2502, allocations: 33.64 kB / 0.9874 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.2503, allocations: 212.2 kB / 0.9876 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.563e-05/0.2504, allocations: 71.08 kB / 0.9877 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.772e-05/0.2504, allocations: 4 kB / 0.9877 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.917e-05/0.2505, allocations: 342.8 kB / 0.988 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002754/0.2508, allocations: 68.44 kB / 0.9881 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002967/0.2511, allocations: 118.2 kB / 0.9882 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003027/0.2514, allocations: 80.84 kB / 0.9883 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.2515, allocations: 0 / 0.9883 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000779/0.2523, allocations: 271.7 kB / 0.9885 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.2523, allocations: 4 kB / 0.9886 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.2523, allocations: 4 kB / 0.9886 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.2524, allocations: 0 / 0.9886 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003866/0.2528, allocations: 47.91 kB / 0.9886 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.2528, allocations: 4.156 kB / 0.9886 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002422/0.253, allocations: 27.83 kB / 0.9886 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.674e-05/0.2531, allocations: 8 kB / 0.9886 GB, free: 17.53 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002372/0.2533, allocations: 165.8 kB / 0.9888 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.067e-05/0.2534, allocations: 43.48 kB / 0.9888 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.2535, allocations: 39.59 kB / 0.9889 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.2535, allocations: 3.938 kB / 0.9889 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2535, allocations: 0 / 0.9889 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.2536, allocations: 7.984 kB / 0.9889 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/0.2548, allocations: 0.6823 MB / 0.9896 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.2548, allocations: 0 / 0.9896 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003072/0.2551, allocations: 35.91 kB / 0.9896 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.2552, allocations: 4 kB / 0.9896 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/0.2552, allocations: 8 kB / 0.9896 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.2552, allocations: 4 kB / 0.9896 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.2552, allocations: 0 / 0.9896 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.2563, allocations: 423.8 kB / 0.99 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.2565, allocations: 140.7 kB / 0.9901 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.278e-05/0.2565, allocations: 4 kB / 0.9901 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/0.2568, allocations: 12 kB / 0.9902 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.9e-05/0.2569, allocations: 15.97 kB / 0.9902 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.313e-05/0.2569, allocations: 8 kB / 0.9902 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003936/0.2573, allocations: 295.1 kB / 0.9905 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2574, allocations: 0 / 0.9905 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004828/0.2578, allocations: 71.69 kB / 0.9905 GB, free: 15.49 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002322/0.2602, allocations: 1.279 MB / 0.9918 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006981/0.2609, allocations: 169.9 kB / 0.9919 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.2609, allocations: 0 / 0.9919 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003145/0.2613, allocations: 91.89 kB / 0.992 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008394/0.2621, allocations: 89.7 kB / 0.9921 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004347/0.2665, allocations: 1.965 MB / 0.994 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.2668, allocations: 0.7953 MB / 0.9948 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002905/0.2671, allocations: 46.94 kB / 0.9949 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002492/0.2674, allocations: 131.4 kB / 0.995 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of SimCode: time 1.382e-06/0.2674, allocations: 3.938 kB / 0.995 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03951/0.3069, allocations: 7.002 MB / 1.002 GB, free: 4.211 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003406/0.3073, allocations: 257 kB / 1.002 GB, free: 3.871 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.988/3.296, allocations: 4.062 kB / 1.002 GB, free: 3.867 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_8.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_8.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.fmu > Buildings_8.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1)