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.001477/0.001477, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001571/0.001571, allocations: 177.3 kB / 15.94 MB, free: 228 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.622/1.622, allocations: 205.4 MB / 222.1 MB, free: 5.5 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.778/1.778, allocations: 292.6 MB / 0.5497 GB, free: 14.59 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.0005151/0.0005152, allocations: 19.17 kB / 0.6737 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2466, allocations: 116.3 MB / 0.7872 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002001/0.2487, allocations: 1.629 MB / 0.7888 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001999/0.2507, allocations: 1.483 MB / 0.7903 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.635e-05/0.2508, allocations: 0 / 0.7903 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.074e-05/0.2508, allocations: 19.84 kB / 0.7903 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.2509, allocations: 47.88 kB / 0.7903 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008517/0.2518, allocations: 275.2 kB / 0.7906 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.252, allocations: 151.7 kB / 0.7907 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.2521, allocations: 29.73 kB / 0.7908 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.794e-05/0.2522, allocations: 79.81 kB / 0.7909 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.2523, allocations: 75.69 kB / 0.7909 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.2524, allocations: 12 kB / 0.7909 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007695/0.2531, allocations: 391.5 kB / 0.7913 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.102e-05/0.2532, allocations: 27.91 kB / 0.7913 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.348e-05/0.2532, allocations: 57.64 kB / 0.7914 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003872/0.2536, allocations: 315.5 kB / 0.7917 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2536, allocations: 0 / 0.7917 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2537, allocations: 3.938 kB / 0.7917 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.2537, allocations: 0 / 0.7917 GB, free: 7.246 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.0007396/0.2544, allocations: 0.495 MB / 0.7922 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.2545, allocations: 12.03 kB / 0.7922 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.719e-05/0.2545, allocations: 50.55 kB / 0.7922 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/0.2556, allocations: 147.7 kB / 0.7924 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.2558, allocations: 186.8 kB / 0.7926 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.183e-05/0.2559, allocations: 45.69 kB / 0.7926 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.992e-05/0.2559, allocations: 20 kB / 0.7926 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005397/0.2564, allocations: 213.3 kB / 0.7928 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.2565, allocations: 0 / 0.7928 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.2565, allocations: 11.94 kB / 0.7928 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.2565, allocations: 8 kB / 0.7928 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00071/0.2572, allocations: 239.6 kB / 0.7931 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001491/0.2587, allocations: 0.974 MB / 0.794 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004638/0.2592, allocations: 182.7 kB / 0.7942 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006154/0.2598, allocations: 0.5142 MB / 0.7947 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.2599, allocations: 34.56 kB / 0.7947 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.2599, allocations: 0 / 0.7947 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.001122/0.261, allocations: 340.8 kB / 0.7951 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.261, allocations: 59.39 kB / 0.7951 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.2612, allocations: 158.5 kB / 0.7953 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.2612, allocations: 29.7 kB / 0.7953 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.241e-05/0.2613, allocations: 120.1 kB / 0.7954 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.436e-05/0.2613, allocations: 55.2 kB / 0.7955 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.296e-05/0.2614, allocations: 0 / 0.7955 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.2615, allocations: 326.8 kB / 0.7958 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003352/0.2618, allocations: 104.3 kB / 0.7959 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003357/0.2622, allocations: 125 kB / 0.796 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003194/0.2625, allocations: 92.89 kB / 0.7961 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2625, allocations: 4 kB / 0.7961 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007381/0.2632, allocations: 270.1 kB / 0.7963 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.2633, allocations: 8 kB / 0.7963 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2633, allocations: 0 / 0.7963 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.2633, allocations: 3.984 kB / 0.7964 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003758/0.2637, allocations: 55.91 kB / 0.7964 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.2637, allocations: 4 kB / 0.7964 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00028/0.264, allocations: 39.67 kB / 0.7964 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.264, allocations: 8 kB / 0.7965 GB, free: 1.957 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.0001179/0.2641, allocations: 125.8 kB / 0.7966 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.2642, allocations: 11.91 kB / 0.7966 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008142/0.265, allocations: 274.5 kB / 0.7968 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.265, allocations: 0 / 0.7968 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.265, allocations: 0 / 0.7968 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.265, allocations: 7.984 kB / 0.7969 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001681/0.2667, allocations: 1.081 MB / 0.7979 GB, free: 292 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.2667, allocations: 4.062 kB / 0.7979 GB, free: 288 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000309/0.2671, allocations: 47.91 kB / 0.798 GB, free: 240 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.2671, allocations: 0 / 0.798 GB, free: 240 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.2671, allocations: 15.92 kB / 0.798 GB, free: 224 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.2671, allocations: 0 / 0.798 GB, free: 224 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.2671, allocations: 0 / 0.798 GB, free: 224 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007868/0.2679, allocations: 376.5 kB / 0.7983 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 5.462e-05/0.268, allocations: 100.8 kB / 0.7984 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/0.268, allocations: 4 kB / 0.7984 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003124/0.2683, allocations: 27.97 kB / 0.7985 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.2684, allocations: 15.98 kB / 0.7985 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.2684, allocations: 11.98 kB / 0.7985 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 7.87e-05/0.2685, allocations: 117.6 kB / 0.7986 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2685, allocations: 0 / 0.7986 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004759/0.269, allocations: 143.8 kB / 0.7987 GB, free: 15.38 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.001369/0.2704, allocations: 1.155 MB / 0.7999 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007571/0.2711, allocations: 239 kB / 0.8001 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.2711, allocations: 0 / 0.8001 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003549/0.2715, allocations: 120 kB / 0.8002 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.2719, allocations: 31.98 kB / 0.8002 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003639/0.2755, allocations: 1.435 MB / 0.8016 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.2758, allocations: 0.7164 MB / 0.8023 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002085/0.276, allocations: 33.17 kB / 0.8024 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.2761, allocations: 43.42 kB / 0.8024 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of SimCode: time 1.093e-06/0.2761, allocations: 0 / 0.8024 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8667/1.143, allocations: 5.874 MB / 0.8081 GB, free: 5.82 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002543/1.143, allocations: 201.1 kB / 0.8083 GB, free: 5.578 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.921/3.064, allocations: 3.938 kB / 0.8083 GB, free: 5.574 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: