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.001179/0.001179, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001324/0.001325, allocations: 191.8 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.23/1.23, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.506/1.506, allocations: 292.3 MB / 0.5486 GB, free: 13.61 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.00126/0.00126, allocations: 72.2 kB / 0.6711 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1674, allocations: 114.5 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002758/0.1701, allocations: 2.102 MB / 0.785 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001937/0.1721, allocations: 1.657 MB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.631e-05/0.1722, allocations: 0 / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.278e-05/0.1722, allocations: 19.91 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.612e-05/0.1723, allocations: 43.62 kB / 0.7867 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007376/0.1731, allocations: 311.2 kB / 0.787 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001973/0.1733, allocations: 231.1 kB / 0.7872 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.1734, allocations: 53.53 kB / 0.7873 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.728e-05/0.1735, allocations: 83.77 kB / 0.7874 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.1736, allocations: 91.67 kB / 0.7874 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.1736, allocations: 23.94 kB / 0.7875 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006101/0.1743, allocations: 415.5 kB / 0.7879 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.436e-05/0.1743, allocations: 39.89 kB / 0.7879 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.333e-05/0.1744, allocations: 99.59 kB / 0.788 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000446/0.1748, allocations: 443.2 kB / 0.7884 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.1749, allocations: 0 / 0.7884 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.72e-07/0.1749, allocations: 0 / 0.7884 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.1749, allocations: 0 / 0.7884 GB, free: 8.223 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.0007328/0.1756, allocations: 0.5224 MB / 0.7889 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.1756, allocations: 12.03 kB / 0.7889 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.503e-05/0.1757, allocations: 50.73 kB / 0.789 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000991/0.1767, allocations: 136.6 kB / 0.7891 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.1768, allocations: 184.2 kB / 0.7893 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.872e-05/0.1769, allocations: 50.25 kB / 0.7893 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.1769, allocations: 12.38 kB / 0.7893 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004968/0.1774, allocations: 221.5 kB / 0.7896 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.1775, allocations: 7.984 kB / 0.7896 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.1775, allocations: 8 kB / 0.7896 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1775, allocations: 4 kB / 0.7896 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006356/0.1781, allocations: 235.6 kB / 0.7898 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.1794, allocations: 0.9663 MB / 0.7907 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004171/0.1798, allocations: 174.7 kB / 0.7909 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003083/0.1801, allocations: 112.8 kB / 0.791 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005785/0.1807, allocations: 0.522 MB / 0.7915 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.1807, allocations: 42.56 kB / 0.7916 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.243e-06/0.1807, allocations: 0 / 0.7916 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.001013/0.1817, allocations: 325.6 kB / 0.7919 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.1818, allocations: 59.41 kB / 0.7919 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.1819, allocations: 157.4 kB / 0.7921 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.1819, allocations: 33.7 kB / 0.7921 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.984e-05/0.182, allocations: 124.1 kB / 0.7922 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.351e-05/0.1821, allocations: 55.2 kB / 0.7923 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.523e-05/0.1822, allocations: 41.7 kB / 0.7923 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.1823, allocations: 330.8 kB / 0.7926 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003178/0.1826, allocations: 99.94 kB / 0.7927 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003166/0.1829, allocations: 118.4 kB / 0.7929 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005834/0.1835, allocations: 208.4 kB / 0.7931 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1835, allocations: 0 / 0.7931 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007135/0.1842, allocations: 257.4 kB / 0.7933 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.1843, allocations: 8 kB / 0.7933 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1843, allocations: 0 / 0.7933 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.1843, allocations: 3.938 kB / 0.7933 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003297/0.1846, allocations: 63.86 kB / 0.7934 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1846, allocations: 4 kB / 0.7934 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002566/0.1849, allocations: 39.66 kB / 0.7934 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.1849, allocations: 8 kB / 0.7934 GB, free: 2.656 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 (com.isOn,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.185, allocations: 130.4 kB / 0.7935 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.433e-05/0.1851, allocations: 11.91 kB / 0.7936 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000733/0.1858, allocations: 258.7 kB / 0.7938 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1858, allocations: 7.938 kB / 0.7938 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1858, allocations: 0 / 0.7938 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1859, allocations: 0 / 0.7938 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001557/0.1874, allocations: 1.085 MB / 0.7949 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1874, allocations: 0 / 0.7949 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002954/0.1877, allocations: 39.97 kB / 0.7949 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.1877, allocations: 0 / 0.7949 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.1878, allocations: 4 kB / 0.7949 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1878, allocations: 0 / 0.7949 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1878, allocations: 0 / 0.7949 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006857/0.1885, allocations: 363.8 kB / 0.7953 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.981e-05/0.1885, allocations: 89.02 kB / 0.7953 GB, free: 480 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.515e-05/0.1886, allocations: 4 kB / 0.7953 GB, free: 476 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003006/0.1889, allocations: 27.97 kB / 0.7954 GB, free: 448 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.1889, allocations: 11.92 kB / 0.7954 GB, free: 436 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.1889, allocations: 15.98 kB / 0.7954 GB, free: 420 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.982e-05/0.189, allocations: 121.4 kB / 0.7955 GB, free: 300 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.189, allocations: 0 / 0.7955 GB, free: 300 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003927/0.1894, allocations: 139.8 kB / 0.7957 GB, free: 160 kB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001213/0.1906, allocations: 0.9988 MB / 0.7966 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006758/0.1913, allocations: 242.9 kB / 0.7969 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1913, allocations: 0 / 0.7969 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003128/0.1916, allocations: 118.7 kB / 0.797 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.192, allocations: 39.92 kB / 0.797 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00428/0.1963, allocations: 2.402 MB / 0.7994 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.1966, allocations: 0.7164 MB / 0.8001 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001839/0.1968, allocations: 29.7 kB / 0.8001 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.1969, allocations: 47.41 kB / 0.8001 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.1969, allocations: 0 / 0.8001 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9197/1.117, allocations: 6.197 MB / 0.8062 GB, free: 5.406 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002834/1.117, allocations: 215.7 kB / 0.8064 GB, free: 5.156 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.513/3.63, allocations: 2.812 kB / 0.8064 GB, free: 5.156 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/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)