Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007983/0.0007983, allocations: 92.31 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009108/0.000911, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.717/1.717, allocations: 205.4 MB / 222.1 MB, free: 5.512 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.706/1.706, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005405/0.0005406, allocations: 12.03 kB / 0.6738 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2854, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002199/0.2876, allocations: 1.699 MB / 0.7891 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002318/0.29, allocations: 1.557 MB / 0.7906 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.645e-05/0.29, allocations: 4 kB / 0.7906 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.242e-05/0.2901, allocations: 15.84 kB / 0.7906 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.2902, allocations: 43.67 kB / 0.7906 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008668/0.2911, allocations: 259.2 kB / 0.7909 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002243/0.2913, allocations: 219.1 kB / 0.7911 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.2915, allocations: 33.73 kB / 0.7911 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.956e-05/0.2916, allocations: 67.84 kB / 0.7912 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.2917, allocations: 83.66 kB / 0.7913 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.2918, allocations: 12 kB / 0.7913 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007817/0.2926, allocations: 387.4 kB / 0.7917 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.675e-05/0.2926, allocations: 39.89 kB / 0.7917 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.021e-05/0.2927, allocations: 53.64 kB / 0.7917 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004713/0.2932, allocations: 319.5 kB / 0.7921 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.2932, allocations: 0 / 0.7921 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.905e-06/0.2932, allocations: 0 / 0.7921 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.2933, allocations: 0 / 0.7921 GB, free: 7.043 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001031/0.2943, allocations: 0.4989 MB / 0.7925 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.779e-05/0.2944, allocations: 8.031 kB / 0.7925 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.819e-05/0.2945, allocations: 50.55 kB / 0.7926 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.2955, allocations: 143.7 kB / 0.7927 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.2957, allocations: 178.9 kB / 0.7929 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.712e-05/0.2958, allocations: 53.62 kB / 0.793 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.249e-05/0.2958, allocations: 12 kB / 0.793 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005331/0.2964, allocations: 221.3 kB / 0.7932 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.2964, allocations: 0 / 0.7932 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.2964, allocations: 4 kB / 0.7932 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.2964, allocations: 4 kB / 0.7932 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006744/0.2971, allocations: 247.6 kB / 0.7934 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00142/0.2985, allocations: 0.9741 MB / 0.7944 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004281/0.299, allocations: 182.6 kB / 0.7945 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003065/0.2993, allocations: 108.8 kB / 0.7946 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006016/0.2999, allocations: 0.522 MB / 0.7952 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.3, allocations: 34.56 kB / 0.7952 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.353e-06/0.3, allocations: 0 / 0.7952 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.00103/0.301, allocations: 348.6 kB / 0.7955 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.301, allocations: 55.36 kB / 0.7956 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.3012, allocations: 154.5 kB / 0.7957 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.503e-05/0.3013, allocations: 33.7 kB / 0.7958 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.693e-05/0.3014, allocations: 120.1 kB / 0.7959 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.167e-05/0.3014, allocations: 59.19 kB / 0.7959 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.567e-05/0.3014, allocations: 4 kB / 0.7959 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.3016, allocations: 322.8 kB / 0.7962 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003151/0.3019, allocations: 104.3 kB / 0.7963 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003192/0.3022, allocations: 125 kB / 0.7965 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003062/0.3025, allocations: 96.91 kB / 0.7965 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3025, allocations: 3.938 kB / 0.7966 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007037/0.3033, allocations: 274.1 kB / 0.7968 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.3033, allocations: 4 kB / 0.7968 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3033, allocations: 0 / 0.7968 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.3033, allocations: 4 kB / 0.7968 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003279/0.3037, allocations: 51.91 kB / 0.7969 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.3037, allocations: 3.984 kB / 0.7969 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.3039, allocations: 39.69 kB / 0.7969 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/0.304, allocations: 8 kB / 0.7969 GB, free: 1.637 MB / 0.6075 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.0001342/0.3041, allocations: 130.4 kB / 0.797 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/0.3041, allocations: 11.91 kB / 0.7971 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007794/0.3049, allocations: 270.6 kB / 0.7973 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.3049, allocations: 4 kB / 0.7973 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.305, allocations: 0 / 0.7973 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.305, allocations: 3.953 kB / 0.7973 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/0.3068, allocations: 1.069 MB / 0.7984 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.3068, allocations: 8 kB / 0.7984 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002819/0.3071, allocations: 51.95 kB / 0.7984 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.3071, allocations: 4 kB / 0.7984 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.3071, allocations: 3.953 kB / 0.7984 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3071, allocations: 4 kB / 0.7984 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3071, allocations: 0 / 0.7984 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007319/0.3079, allocations: 349 kB / 0.7988 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-05/0.3079, allocations: 96.91 kB / 0.7989 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.871e-05/0.308, allocations: 8 kB / 0.7989 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002722/0.3083, allocations: 23.92 kB / 0.7989 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/0.3083, allocations: 31.84 kB / 0.7989 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.3083, allocations: 4 kB / 0.7989 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 9.132e-05/0.3084, allocations: 121.5 kB / 0.799 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3085, allocations: 0 / 0.799 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005076/0.309, allocations: 131.9 kB / 0.7992 GB, free: 15.12 MB / 0.6231 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.001333/0.3103, allocations: 1.013 MB / 0.8002 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006675/0.311, allocations: 227.8 kB / 0.8004 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.311, allocations: 4 kB / 0.8004 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003067/0.3113, allocations: 112.1 kB / 0.8005 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004227/0.3117, allocations: 59.8 kB / 0.8005 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003351/0.3151, allocations: 1.272 MB / 0.8018 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.3154, allocations: 0.7164 MB / 0.8025 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002156/0.3157, allocations: 25.55 kB / 0.8025 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.3158, allocations: 47.41 kB / 0.8026 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of SimCode: time 3.7e-07/0.3158, allocations: 0 / 0.8026 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01899/0.3348, allocations: 5.898 MB / 0.8083 GB, free: 5.836 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/0.335, allocations: 203 kB / 0.8085 GB, free: 5.598 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.963/2.298, allocations: 0 / 0.8085 GB, free: 5.598 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) Environment - environmentSimulation: