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.58/2.58, allocations: 287.3 MB / 302.3 MB, free: 8.316 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.001535/0.001535, allocations: 177 kB / 370.8 MB, free: 10.84 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.056/2.056, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001131/0.001131, allocations: 94.92 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000484/0.0004843, allocations: 11.36 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2105, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.003521/0.2141, allocations: 2.39 MB / 0.9806 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002765/0.2169, allocations: 1.152 MB / 0.9818 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003046/0.2172, allocations: 15.94 kB / 0.9818 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00041/0.2177, allocations: 115.5 kB / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00047/0.2182, allocations: 139.5 kB / 0.982 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008225/0.219, allocations: 220.5 kB / 0.9822 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000547/0.2196, allocations: 292 kB / 0.9825 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002863/0.2199, allocations: 140.3 kB / 0.9826 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002664/0.2201, allocations: 139.3 kB / 0.9828 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/0.2204, allocations: 139.2 kB / 0.9829 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.999e-05/0.2204, allocations: 8 kB / 0.9829 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.2206, allocations: 35.94 kB / 0.9829 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.171e-05/0.2207, allocations: 63.73 kB / 0.983 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.489e-05/0.2208, allocations: 85.45 kB / 0.9831 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005012/0.2213, allocations: 395.1 kB / 0.9835 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2213, allocations: 0 / 0.9835 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2213, allocations: 0 / 0.9835 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.2213, allocations: 0 / 0.9835 GB, free: 22.94 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.001308/0.2227, allocations: 0.6521 MB / 0.9841 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.2227, allocations: 8.031 kB / 0.9841 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.345e-05/0.2228, allocations: 58.48 kB / 0.9842 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.77e-05/0.2229, allocations: 51.42 kB / 0.9842 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007315/0.2237, allocations: 381.7 kB / 0.9846 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/0.2237, allocations: 20.56 kB / 0.9846 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.772e-05/0.2238, allocations: 24 kB / 0.9846 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007379/0.2245, allocations: 267.7 kB / 0.9849 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.2246, allocations: 0 / 0.9849 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.167e-05/0.2246, allocations: 19.94 kB / 0.9849 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.2246, allocations: 4 kB / 0.9849 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006391/0.2253, allocations: 190.2 kB / 0.9851 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001797/0.2271, allocations: 0.8802 MB / 0.9859 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.2283, allocations: 227 kB / 0.9862 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.108e-05/0.2283, allocations: 4 kB / 0.9862 GB, free: 20 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004407/0.2288, allocations: 139.3 kB / 0.9863 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 2.735e-06/0.2288, allocations: 0 / 0.9863 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20): time 0.001066/0.2299, allocations: 303.4 kB / 0.9866 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.2299, allocations: 51.41 kB / 0.9866 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005467/0.2305, allocations: 405.7 kB / 0.987 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.2305, allocations: 29.7 kB / 0.987 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.2307, allocations: 216 kB / 0.9872 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.422e-05/0.2308, allocations: 67.08 kB / 0.9873 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.818e-05/0.2308, allocations: 8 kB / 0.9873 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.587e-05/0.2309, allocations: 346.8 kB / 0.9877 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002855/0.2312, allocations: 68.44 kB / 0.9877 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003001/0.2315, allocations: 122.2 kB / 0.9878 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003038/0.2318, allocations: 76.86 kB / 0.9879 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.2318, allocations: 0 / 0.9879 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007741/0.2326, allocations: 262.7 kB / 0.9882 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.2327, allocations: 11.94 kB / 0.9882 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.435e-06/0.2327, allocations: 0 / 0.9882 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.2327, allocations: 4 kB / 0.9882 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003856/0.2331, allocations: 51.91 kB / 0.9882 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.2331, allocations: 4 kB / 0.9882 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002459/0.2334, allocations: 31.91 kB / 0.9883 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.631e-05/0.2334, allocations: 7.984 kB / 0.9883 GB, free: 17.77 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.0002223/0.2337, allocations: 169.8 kB / 0.9884 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.917e-05/0.2337, allocations: 39.48 kB / 0.9885 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.769e-05/0.2338, allocations: 39.59 kB / 0.9885 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.2338, allocations: 4 kB / 0.9885 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.2339, allocations: 0 / 0.9885 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.2339, allocations: 0 / 0.9885 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.2351, allocations: 0.6778 MB / 0.9892 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/0.2352, allocations: 7.953 kB / 0.9892 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003065/0.2355, allocations: 39.91 kB / 0.9892 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.2355, allocations: 0 / 0.9892 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.2355, allocations: 4 kB / 0.9892 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.2356, allocations: 0 / 0.9892 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2356, allocations: 4 kB / 0.9892 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.2366, allocations: 429.5 kB / 0.9896 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.2368, allocations: 128.7 kB / 0.9898 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.219e-05/0.2368, allocations: 12.05 kB / 0.9898 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002476/0.2371, allocations: 12 kB / 0.9898 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.858e-05/0.2372, allocations: 19.95 kB / 0.9898 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.262e-05/0.2372, allocations: 8 kB / 0.9898 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003777/0.2376, allocations: 295.1 kB / 0.9901 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.51e-07/0.2376, allocations: 0 / 0.9901 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004724/0.2381, allocations: 63.69 kB / 0.9901 GB, free: 15.75 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.002308/0.2404, allocations: 1.272 MB / 0.9914 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006874/0.2412, allocations: 183.8 kB / 0.9916 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.2412, allocations: 0 / 0.9916 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003124/0.2415, allocations: 94.3 kB / 0.9917 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007123/0.2422, allocations: 73.78 kB / 0.9917 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004394/0.2466, allocations: 2.685 MB / 0.9943 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.247, allocations: 0.807 MB / 0.9951 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002926/0.2473, allocations: 50.94 kB / 0.9952 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002477/0.2475, allocations: 123.4 kB / 0.9953 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of SimCode: time 1.492e-06/0.2475, allocations: 0 / 0.9953 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0297/0.2773, allocations: 6.99 MB / 1.002 GB, free: 3.738 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001853/0.2775, allocations: 243.2 kB / 1.002 GB, free: 3.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.814/3.092, allocations: 7.5 kB / 1.002 GB, free: 3.406 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)