Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.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.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.591/2.591, allocations: 287.3 MB / 302.3 MB, free: 8.324 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.001562/0.001562, allocations: 181.2 kB / 370.8 MB, free: 10.86 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.177/2.177, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001201/0.0012, allocations: 100.5 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005057/0.0005058, allocations: 11.84 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2295, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002381/0.2319, allocations: 1.629 MB / 0.9799 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002696/0.2347, allocations: 1.479 MB / 0.9813 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.2348, allocations: 0 / 0.9813 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.828e-05/0.2349, allocations: 15.86 kB / 0.9813 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001419/0.235, allocations: 51.88 kB / 0.9814 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.2362, allocations: 271.2 kB / 0.9816 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002606/0.2365, allocations: 155.7 kB / 0.9818 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.2367, allocations: 34.73 kB / 0.9818 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.2368, allocations: 75.77 kB / 0.9819 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.2369, allocations: 75.73 kB / 0.982 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.238e-05/0.237, allocations: 12 kB / 0.982 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001139/0.2381, allocations: 391.5 kB / 0.9824 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.168e-05/0.2382, allocations: 31.91 kB / 0.9824 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.538e-05/0.2383, allocations: 53.64 kB / 0.9824 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006265/0.2389, allocations: 315.5 kB / 0.9827 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.2389, allocations: 0 / 0.9827 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2389, allocations: 0 / 0.9827 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.239, allocations: 0 / 0.9827 GB, free: 23.72 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001007/0.24, allocations: 0.5048 MB / 0.9832 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.24, allocations: 12.02 kB / 0.9832 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.155e-05/0.2401, allocations: 54.48 kB / 0.9833 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001887/0.242, allocations: 147.7 kB / 0.9834 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.2422, allocations: 178.8 kB / 0.9836 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/0.2423, allocations: 57.67 kB / 0.9837 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.308e-05/0.2424, allocations: 16 kB / 0.9837 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008656/0.2432, allocations: 217.3 kB / 0.9839 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.2433, allocations: 0 / 0.9839 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.825e-05/0.2433, allocations: 4 kB / 0.9839 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.2433, allocations: 8 kB / 0.9839 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.2446, allocations: 239.6 kB / 0.9841 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001933/0.2465, allocations: 0.9664 MB / 0.9851 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007684/0.2473, allocations: 174.7 kB / 0.9852 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008448/0.2482, allocations: 0.522 MB / 0.9857 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.2482, allocations: 42.48 kB / 0.9858 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 2.094e-06/0.2482, allocations: 0 / 0.9858 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.003196/0.2514, allocations: 336.1 kB / 0.9861 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.2515, allocations: 59.36 kB / 0.9862 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.2517, allocations: 157.1 kB / 0.9863 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.925e-05/0.2518, allocations: 33.7 kB / 0.9863 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.38e-05/0.2519, allocations: 112.2 kB / 0.9864 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.81e-05/0.2519, allocations: 55.2 kB / 0.9865 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.348e-05/0.252, allocations: 4 kB / 0.9865 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.862e-05/0.252, allocations: 326.8 kB / 0.9868 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005822/0.2526, allocations: 100.3 kB / 0.9869 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005992/0.2533, allocations: 130.6 kB / 0.987 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005735/0.2538, allocations: 90.53 kB / 0.9871 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.2539, allocations: 4 kB / 0.9871 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001378/0.2552, allocations: 275 kB / 0.9874 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.2553, allocations: 4 kB / 0.9874 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.2553, allocations: 0 / 0.9874 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.2553, allocations: 0 / 0.9874 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006464/0.256, allocations: 59.89 kB / 0.9874 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.256, allocations: 3.953 kB / 0.9875 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005139/0.2566, allocations: 35.73 kB / 0.9875 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.689e-05/0.2566, allocations: 7.984 kB / 0.9875 GB, free: 18.43 MB / 0.6198 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.0001607/0.2568, allocations: 129.8 kB / 0.9876 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.793e-05/0.2569, allocations: 15.91 kB / 0.9876 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/0.2583, allocations: 266.6 kB / 0.9879 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.2583, allocations: 0 / 0.9879 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.2583, allocations: 0 / 0.9879 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.2583, allocations: 11.94 kB / 0.9879 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002684/0.261, allocations: 1.077 MB / 0.989 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.2611, allocations: 4.062 kB / 0.989 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005657/0.2617, allocations: 47.89 kB / 0.989 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-06/0.2617, allocations: 3.953 kB / 0.989 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.767e-05/0.2617, allocations: 8 kB / 0.989 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.88e-06/0.2617, allocations: 0 / 0.989 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.2618, allocations: 4 kB / 0.989 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/0.2631, allocations: 378.7 kB / 0.9894 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.387e-05/0.2632, allocations: 96.86 kB / 0.9895 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.399e-05/0.2633, allocations: 15.98 kB / 0.9895 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005531/0.2638, allocations: 23.97 kB / 0.9895 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.257e-05/0.2639, allocations: 15.98 kB / 0.9895 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.064e-05/0.2639, allocations: 4 kB / 0.9895 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001094/0.2641, allocations: 123.8 kB / 0.9896 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.41e-07/0.2641, allocations: 0 / 0.9896 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006438/0.2647, allocations: 131.9 kB / 0.9898 GB, free: 15.88 MB / 0.6198 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.002107/0.2668, allocations: 1.167 MB / 0.9909 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001293/0.2682, allocations: 234.6 kB / 0.9911 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.2682, allocations: 0 / 0.9911 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006003/0.2688, allocations: 117.8 kB / 0.9912 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000518/0.2693, allocations: 39.97 kB / 0.9913 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006269/0.2756, allocations: 1.432 MB / 0.9927 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.2759, allocations: 0.7202 MB / 0.9934 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003533/0.2762, allocations: 33.48 kB / 0.9934 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/0.2764, allocations: 43.42 kB / 0.9935 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of SimCode: time 1.032e-06/0.2764, allocations: 0 / 0.9935 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02854/0.305, allocations: 5.901 MB / 0.9992 GB, free: 6.285 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002305/0.3053, allocations: 197.2 kB / 0.9994 GB, free: 6.047 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.804/3.109, allocations: 0 / 0.9994 GB, free: 6.047 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1)