Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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: translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor") translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 196.3 kB / 16.64 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.386/1.386, allocations: 205.1 MB / 222.5 MB, free: 4.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.764/1.764, allocations: 292.3 MB / 0.549 GB, free: 12.77 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 67.33 kB / 0.6723 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2116, allocations: 114.6 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.005278/0.2169, allocations: 2.832 MB / 0.7869 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002576/0.2195, allocations: 1.275 MB / 0.7881 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002946/0.2199, allocations: 11.94 kB / 0.7882 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006139/0.2205, allocations: 147.1 kB / 0.7883 GB, free: 8.465 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003763/0.2209, allocations: 143.2 kB / 0.7884 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005839/0.2215, allocations: 277.3 kB / 0.7887 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004905/0.222, allocations: 475.5 kB / 0.7892 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000386/0.2224, allocations: 214.4 kB / 0.7894 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002951/0.2227, allocations: 187.1 kB / 0.7895 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002993/0.223, allocations: 195.1 kB / 0.7897 GB, free: 7 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.677e-05/0.2231, allocations: 36 kB / 0.7898 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.2232, allocations: 75.92 kB / 0.7898 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.2234, allocations: 91.64 kB / 0.7899 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001805/0.2236, allocations: 186.9 kB / 0.7901 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006302/0.2242, allocations: 0.5256 MB / 0.7906 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2242, allocations: 0 / 0.7906 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2242, allocations: 0 / 0.7906 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.914e-06/0.2242, allocations: 0 / 0.7906 GB, free: 6.09 MB / 0.6075 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.001145/0.2254, allocations: 0.7126 MB / 0.7913 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.2254, allocations: 8.031 kB / 0.7913 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.897e-05/0.2255, allocations: 48.38 kB / 0.7914 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006582/0.2262, allocations: 402.7 kB / 0.7917 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.97e-05/0.2263, allocations: 20.92 kB / 0.7918 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.902e-05/0.2263, allocations: 28.12 kB / 0.7918 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005137/0.2268, allocations: 275.7 kB / 0.7921 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/0.2269, allocations: 0 / 0.7921 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.165e-05/0.2269, allocations: 12 kB / 0.7921 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.2269, allocations: 4 kB / 0.7921 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004104/0.2273, allocations: 186.1 kB / 0.7922 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001434/0.2288, allocations: 0.8685 MB / 0.7931 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007489/0.2295, allocations: 230.9 kB / 0.7933 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001935/0.2298, allocations: 103.4 kB / 0.7934 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.319e-05/0.2298, allocations: 0 / 0.7934 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002913/0.2301, allocations: 135.3 kB / 0.7935 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.2301, allocations: 3.938 kB / 0.7935 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20): time 0.0006837/0.2308, allocations: 293.1 kB / 0.7938 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.2309, allocations: 55.41 kB / 0.7939 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004554/0.2313, allocations: 413.6 kB / 0.7943 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.2314, allocations: 25.7 kB / 0.7943 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.2315, allocations: 216.1 kB / 0.7945 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.275e-05/0.2316, allocations: 67.08 kB / 0.7946 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.07e-05/0.2317, allocations: 45.94 kB / 0.7946 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.2319, allocations: 354.7 kB / 0.7949 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.232, allocations: 68.44 kB / 0.795 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/0.2322, allocations: 119.1 kB / 0.7951 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003583/0.2326, allocations: 183.5 kB / 0.7953 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.2326, allocations: 3.984 kB / 0.7953 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004835/0.2331, allocations: 260.2 kB / 0.7956 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.2331, allocations: 8 kB / 0.7956 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.2331, allocations: 0 / 0.7956 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.2332, allocations: 4 kB / 0.7956 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.2334, allocations: 47.91 kB / 0.7956 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.2334, allocations: 0 / 0.7956 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.2335, allocations: 27.78 kB / 0.7956 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.2336, allocations: 15.98 kB / 0.7957 GB, free: 0.6484 MB / 0.6075 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 ($PRE.cooMod.nextTimeEvent,$whenCondition1,reaToInt.y,cooMod.nextTimeEventScaled,$PRE.cooMod.nextTimeEventScaled,cooMod.nextTimeEvent,dxSpeCon.not1.y,$whenCondition2,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.0001666/0.2338, allocations: 168.9 kB / 0.7958 GB, free: 488 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.233e-05/0.2338, allocations: 43.53 kB / 0.7959 GB, free: 444 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.907e-05/0.2339, allocations: 43.53 kB / 0.7959 GB, free: 400 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.2339, allocations: 0 / 0.7959 GB, free: 400 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2339, allocations: 0 / 0.7959 GB, free: 400 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-06/0.2339, allocations: 3.938 kB / 0.7959 GB, free: 396 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009438/0.2349, allocations: 0.6806 MB / 0.7966 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2349, allocations: 4 kB / 0.7966 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.2351, allocations: 27.97 kB / 0.7966 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.2351, allocations: 4 kB / 0.7966 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/0.2351, allocations: 7.938 kB / 0.7966 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2351, allocations: 0 / 0.7966 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2351, allocations: 0 / 0.7966 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006827/0.2358, allocations: 426.9 kB / 0.797 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.2359, allocations: 132.6 kB / 0.7971 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.277e-05/0.236, allocations: 3.938 kB / 0.7971 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.2361, allocations: 11.98 kB / 0.7972 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.718e-05/0.2362, allocations: 19.97 kB / 0.7972 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/0.2362, allocations: 7.938 kB / 0.7972 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000282/0.2365, allocations: 295.2 kB / 0.7975 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2365, allocations: 0 / 0.7975 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003227/0.2369, allocations: 71.89 kB / 0.7975 GB, free: 14.62 MB / 0.6231 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.0009019/0.2378, allocations: 410.3 kB / 0.7979 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004355/0.2382, allocations: 175.8 kB / 0.7981 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2382, allocations: 0 / 0.7981 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.2384, allocations: 94.78 kB / 0.7982 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005393/0.239, allocations: 97.2 kB / 0.7983 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009953/0.24, allocations: 0.618 MB / 0.7989 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.2403, allocations: 0.8028 MB / 0.7997 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001456/0.2405, allocations: 50.94 kB / 0.7997 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.479e-05/0.2405, allocations: 27.44 kB / 0.7997 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of SimCode: time 2.11e-07/0.2406, allocations: 0 / 0.7997 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of Templates: time 0.007498/0.2481, allocations: 3.761 MB / 0.8034 GB, free: 8.75 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.makefile (rm -f Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & ./Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1)