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 1.645/1.645, allocations: 287.4 MB / 302.6 MB, free: 8.281 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.001072/0.001072, allocations: 178 kB / 371.1 MB, free: 10.74 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.297/1.297, allocations: 205.4 MB / 0.6298 GB, free: 10.52 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.0007186/0.0007187, allocations: 100.6 kB / 0.7431 GB, free: 6.504 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003442, allocations: 11.25 kB / 0.8662 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1784, allocations: 115.3 MB / 0.9787 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.001849/0.1803, allocations: 1.699 MB / 0.9804 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001909/0.1822, allocations: 1.555 MB / 0.9819 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.875e-05/0.1823, allocations: 0 / 0.9819 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.994e-05/0.1824, allocations: 19.84 kB / 0.9819 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.1825, allocations: 39.67 kB / 0.982 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008114/0.1833, allocations: 271.2 kB / 0.9822 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001943/0.1835, allocations: 211.1 kB / 0.9824 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.1836, allocations: 41.52 kB / 0.9825 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.93e-05/0.1837, allocations: 79.83 kB / 0.9825 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.1838, allocations: 79.67 kB / 0.9826 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.621e-05/0.1839, allocations: 12 kB / 0.9826 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006694/0.1845, allocations: 383.5 kB / 0.983 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.456e-05/0.1846, allocations: 31.91 kB / 0.983 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.12e-05/0.1846, allocations: 53.64 kB / 0.9831 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003838/0.185, allocations: 323.5 kB / 0.9834 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.185, allocations: 4 kB / 0.9834 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.853e-06/0.1851, allocations: 4 kB / 0.9834 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.1851, allocations: 0 / 0.9834 GB, free: 23.28 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.00067/0.1857, allocations: 0.4913 MB / 0.9839 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.1858, allocations: 8.031 kB / 0.9839 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.763e-05/0.1859, allocations: 54.67 kB / 0.9839 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009816/0.1868, allocations: 152.6 kB / 0.9841 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.737e-05/0.1869, allocations: 172.3 kB / 0.9842 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.204e-05/0.187, allocations: 54.19 kB / 0.9843 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.082e-05/0.1871, allocations: 16.38 kB / 0.9843 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004892/0.1876, allocations: 221.5 kB / 0.9845 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1876, allocations: 3.984 kB / 0.9845 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.1876, allocations: 8 kB / 0.9845 GB, free: 22 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.1876, allocations: 4 kB / 0.9845 GB, free: 22 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006356/0.1883, allocations: 235.6 kB / 0.9848 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.1895, allocations: 0.9587 MB / 0.9857 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000414/0.1899, allocations: 182.7 kB / 0.9859 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002981/0.1902, allocations: 112.8 kB / 0.986 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004826/0.1907, allocations: 0.5181 MB / 0.9865 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.1908, allocations: 30.56 kB / 0.9865 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.492e-06/0.1908, allocations: 4 kB / 0.9865 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0009915/0.1918, allocations: 339.1 kB / 0.9868 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.798e-05/0.1918, allocations: 55.41 kB / 0.9869 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.866e-05/0.1919, allocations: 158.5 kB / 0.987 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.1919, allocations: 25.7 kB / 0.9871 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.072e-05/0.192, allocations: 124.1 kB / 0.9872 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.192, allocations: 55.19 kB / 0.9872 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.26e-05/0.192, allocations: 4 kB / 0.9872 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.017e-05/0.1921, allocations: 322.8 kB / 0.9876 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003008/0.1924, allocations: 111.9 kB / 0.9877 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002971/0.1927, allocations: 117.7 kB / 0.9878 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006273/0.1933, allocations: 201.5 kB / 0.988 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1934, allocations: 0 / 0.988 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006937/0.1941, allocations: 281.4 kB / 0.9882 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.1941, allocations: 4 kB / 0.9882 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1941, allocations: 7.922 kB / 0.9882 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.1941, allocations: 0 / 0.9882 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000341/0.1945, allocations: 59.83 kB / 0.9883 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.1945, allocations: 0 / 0.9883 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002615/0.1948, allocations: 39.77 kB / 0.9883 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.1948, allocations: 7.984 kB / 0.9884 GB, free: 17.77 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 9.647e-05/0.1949, allocations: 133.8 kB / 0.9885 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.192e-05/0.1949, allocations: 15.81 kB / 0.9885 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007243/0.1957, allocations: 262.7 kB / 0.9887 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.1957, allocations: 3.938 kB / 0.9887 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1957, allocations: 4 kB / 0.9888 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.1957, allocations: 0 / 0.9888 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/0.1971, allocations: 1.082 MB / 0.9898 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.1971, allocations: 7.938 kB / 0.9898 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002803/0.1974, allocations: 48.02 kB / 0.9899 GB, free: 16.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.1974, allocations: 4 kB / 0.9899 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.1975, allocations: 0 / 0.9899 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1975, allocations: 0 / 0.9899 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1975, allocations: 4 kB / 0.9899 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006446/0.1981, allocations: 353.9 kB / 0.9902 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.384e-05/0.1982, allocations: 96.86 kB / 0.9903 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.655e-05/0.1982, allocations: 11.98 kB / 0.9903 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002869/0.1985, allocations: 23.97 kB / 0.9903 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.1986, allocations: 15.98 kB / 0.9903 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.1986, allocations: 4 kB / 0.9904 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.904e-05/0.1986, allocations: 123.8 kB / 0.9905 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.7e-07/0.1986, allocations: 0 / 0.9905 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004103/0.1991, allocations: 135.9 kB / 0.9906 GB, free: 15.26 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.001105/0.2002, allocations: 1.012 MB / 0.9916 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006568/0.2008, allocations: 227.8 kB / 0.9918 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.2009, allocations: 0 / 0.9918 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003162/0.2012, allocations: 120.1 kB / 0.9919 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.2016, allocations: 47.95 kB / 0.992 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003889/0.2055, allocations: 1.283 MB / 0.9932 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.2057, allocations: 0.7279 MB / 0.9939 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002538/0.2059, allocations: 30.36 kB / 0.994 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.206, allocations: 43.42 kB / 0.994 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of SimCode: time 2.7e-07/0.2061, allocations: 0 / 0.994 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3104/0.5165, allocations: 5.894 MB / 0.9998 GB, free: 5.98 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002004/0.5167, allocations: 198 kB / 0.9999 GB, free: 5.746 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.099/2.616, allocations: 6.188 kB / 1 GB, free: 5.742 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)