Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.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.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",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.539/1.539, allocations: 252 MB / 267 MB, free: 10.97 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.001035/0.001035, allocations: 175.2 kB / 326.6 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.776/1.776, allocations: 205.4 MB / 0.5776 GB, free: 20.27 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.0009524/0.0009522, allocations: 92.02 kB / 0.6822 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003491/0.0003492, allocations: 9.625 kB / 0.7964 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2477, allocations: 106.4 MB / 0.9003 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002137/0.2499, allocations: 1.695 MB / 0.902 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002131/0.2521, allocations: 1.896 MB / 0.9038 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.137e-05/0.2522, allocations: 4 kB / 0.9038 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.001e-05/0.2522, allocations: 19.84 kB / 0.9038 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.2523, allocations: 43.62 kB / 0.9039 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.2534, allocations: 370.6 kB / 0.9042 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.2536, allocations: 211.1 kB / 0.9044 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.2537, allocations: 33.72 kB / 0.9045 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.692e-05/0.2538, allocations: 71.84 kB / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.254, allocations: 79.67 kB / 0.9046 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.95e-05/0.254, allocations: 12 kB / 0.9046 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006938/0.2547, allocations: 467.2 kB / 0.9051 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.84e-05/0.2548, allocations: 35.84 kB / 0.9051 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.263e-05/0.2548, allocations: 53.64 kB / 0.9052 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004433/0.2553, allocations: 383.4 kB / 0.9055 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.2553, allocations: 0 / 0.9055 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2553, allocations: 0 / 0.9055 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.2553, allocations: 0 / 0.9055 GB, free: 58.44 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0007917/0.2561, allocations: 0.5225 MB / 0.906 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.2562, allocations: 12.02 kB / 0.906 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.654e-05/0.2562, allocations: 50.56 kB / 0.9061 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/0.2573, allocations: 147.7 kB / 0.9062 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.2574, allocations: 190.8 kB / 0.9064 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.381e-05/0.2575, allocations: 53.44 kB / 0.9065 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.52e-05/0.2576, allocations: 20 kB / 0.9065 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005196/0.2581, allocations: 209.5 kB / 0.9067 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.2581, allocations: 3.938 kB / 0.9067 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.581e-05/0.2582, allocations: 12 kB / 0.9067 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.2582, allocations: 4 kB / 0.9067 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000688/0.2589, allocations: 235.8 kB / 0.9069 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.2602, allocations: 0.974 MB / 0.9079 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004337/0.2606, allocations: 179.9 kB / 0.9081 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003117/0.261, allocations: 112.8 kB / 0.9082 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005734/0.2615, allocations: 0.5259 MB / 0.9087 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.2616, allocations: 30.56 kB / 0.9087 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.2616, allocations: 0 / 0.9087 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16): time 0.001114/0.2627, allocations: 343 kB / 0.909 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.2628, allocations: 55.41 kB / 0.9091 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.2629, allocations: 157.5 kB / 0.9092 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.2629, allocations: 33.7 kB / 0.9093 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.412e-05/0.263, allocations: 120.1 kB / 0.9094 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.62e-05/0.2631, allocations: 51.3 kB / 0.9094 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.348e-05/0.2631, allocations: 0 / 0.9094 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.567e-05/0.2632, allocations: 326.8 kB / 0.9097 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003169/0.2635, allocations: 100.3 kB / 0.9098 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003252/0.2638, allocations: 134.1 kB / 0.91 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003074/0.2641, allocations: 92.91 kB / 0.9101 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2642, allocations: 0 / 0.9101 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007199/0.2649, allocations: 274.8 kB / 0.9103 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.2649, allocations: 7.984 kB / 0.9103 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.2649, allocations: 3.938 kB / 0.9103 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.265, allocations: 4 kB / 0.9103 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003643/0.2653, allocations: 51.91 kB / 0.9104 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.2653, allocations: 7.953 kB / 0.9104 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003008/0.2656, allocations: 31.81 kB / 0.9104 GB, free: 53.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.2657, allocations: 8 kB / 0.9104 GB, free: 53 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.com.isOn,com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001014/0.2658, allocations: 121.8 kB / 0.9105 GB, free: 52.87 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.163e-05/0.2658, allocations: 15.81 kB / 0.9106 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00076/0.2666, allocations: 270.6 kB / 0.9108 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.2666, allocations: 4 kB / 0.9108 GB, free: 52.58 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.2666, allocations: 11.88 kB / 0.9108 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.2666, allocations: 0 / 0.9108 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/0.2682, allocations: 1.066 MB / 0.9119 GB, free: 51.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.2682, allocations: 4 kB / 0.9119 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000294/0.2685, allocations: 47.97 kB / 0.9119 GB, free: 51.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.2686, allocations: 7.953 kB / 0.9119 GB, free: 51.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.2686, allocations: 7.984 kB / 0.9119 GB, free: 51.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.2686, allocations: 4 kB / 0.9119 GB, free: 51.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2686, allocations: 0 / 0.9119 GB, free: 51.28 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000689/0.2693, allocations: 351.9 kB / 0.9123 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.894e-05/0.2693, allocations: 96.94 kB / 0.9124 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.666e-05/0.2694, allocations: 7.953 kB / 0.9124 GB, free: 50.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000326/0.2697, allocations: 27.97 kB / 0.9124 GB, free: 50.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.2698, allocations: 15.92 kB / 0.9124 GB, free: 50.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.2698, allocations: 11.98 kB / 0.9124 GB, free: 50.74 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.545e-05/0.2699, allocations: 118.3 kB / 0.9125 GB, free: 50.62 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.1e-07/0.2699, allocations: 0 / 0.9125 GB, free: 50.62 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004984/0.2704, allocations: 171.8 kB / 0.9127 GB, free: 50.46 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (com.isOn) * Number of discrete states: 1 (com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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 Backend phase and start with SimCode phase: time 0.001288/0.2717, allocations: 1.075 MB / 0.9138 GB, free: 49.35 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006912/0.2724, allocations: 243.3 kB / 0.914 GB, free: 49.12 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2724, allocations: 0 / 0.914 GB, free: 49.12 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003051/0.2727, allocations: 107.9 kB / 0.9141 GB, free: 49.01 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004266/0.2731, allocations: 44.16 kB / 0.9141 GB, free: 48.97 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003523/0.2767, allocations: 1.319 MB / 0.9154 GB, free: 47.59 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001567/0.2768, allocations: 0.7162 MB / 0.9161 GB, free: 46.85 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002145/0.2771, allocations: 33.48 kB / 0.9162 GB, free: 46.82 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.2772, allocations: 47.36 kB / 0.9162 GB, free: 46.77 MB / 0.6042 GB Notification: Performance of SimCode: time 8.42e-07/0.2772, allocations: 0 / 0.9162 GB, free: 46.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01789/0.2951, allocations: 6.087 MB / 0.9221 GB, free: 40.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001841/0.2953, allocations: 216.6 kB / 0.9223 GB, free: 40.63 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.874/2.17, allocations: 0 / 0.9223 GB, free: 40.63 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1)