Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="BuildingSystems_BuildingSystems_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.001249/0.001249, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 195.5 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002484/0.002484, allocations: 283.1 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.998/0.998, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002703/0.002703, allocations: 97.2 kB / 0.5953 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1509, allocations: 86.98 MB / 0.6803 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003288/0.1542, allocations: 2.008 MB / 0.6823 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002463/0.1567, allocations: 1.663 MB / 0.6839 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.501e-05/0.1568, allocations: 8 kB / 0.6839 GB, free: 12.9 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.877e-05/0.1568, allocations: 15.8 kB / 0.6839 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.157, allocations: 51.55 kB / 0.6839 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009078/0.1579, allocations: 358.8 kB / 0.6843 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002387/0.1581, allocations: 223.2 kB / 0.6845 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.1583, allocations: 69.7 kB / 0.6846 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.1584, allocations: 83.72 kB / 0.6847 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.1585, allocations: 95.66 kB / 0.6847 GB, free: 12.02 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.449e-05/0.1586, allocations: 16 kB / 0.6848 GB, free: 12.01 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007809/0.1594, allocations: 403.5 kB / 0.6851 GB, free: 11.61 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.019e-05/0.1594, allocations: 43.89 kB / 0.6852 GB, free: 11.57 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.917e-05/0.1595, allocations: 91.64 kB / 0.6853 GB, free: 11.48 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005986/0.1601, allocations: 430.9 kB / 0.6857 GB, free: 11.06 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1602, allocations: 0 / 0.6857 GB, free: 11.06 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1602, allocations: 0 / 0.6857 GB, free: 11.06 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1602, allocations: 0 / 0.6857 GB, free: 11.06 MB / 494.1 MB 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.0009129/0.1611, allocations: 0.5225 MB / 0.6862 GB, free: 10.48 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.1611, allocations: 8.031 kB / 0.6862 GB, free: 10.48 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.255e-05/0.1612, allocations: 54.67 kB / 0.6863 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/0.1624, allocations: 136.6 kB / 0.6864 GB, free: 10.28 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.1625, allocations: 180.3 kB / 0.6866 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.708e-05/0.1626, allocations: 50.25 kB / 0.6866 GB, free: 10.01 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.997e-05/0.1627, allocations: 12.38 kB / 0.6866 GB, free: 10 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005867/0.1632, allocations: 230.2 kB / 0.6868 GB, free: 9.77 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.1633, allocations: 0 / 0.6868 GB, free: 9.77 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.02e-05/0.1633, allocations: 8 kB / 0.6868 GB, free: 9.762 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.1633, allocations: 7.938 kB / 0.6868 GB, free: 9.754 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007839/0.1641, allocations: 235.8 kB / 0.6871 GB, free: 9.523 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/0.1656, allocations: 0.9701 MB / 0.688 GB, free: 8.43 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000505/0.1661, allocations: 178.6 kB / 0.6882 GB, free: 8.246 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003716/0.1665, allocations: 114.5 kB / 0.6883 GB, free: 8.133 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007129/0.1672, allocations: 0.5142 MB / 0.6888 GB, free: 7.508 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.1673, allocations: 38.56 kB / 0.6888 GB, free: 7.461 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.1673, allocations: 4 kB / 0.6888 GB, free: 7.457 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.001231/0.1685, allocations: 329.5 kB / 0.6892 GB, free: 7.129 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.1686, allocations: 59.41 kB / 0.6892 GB, free: 7.059 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.1687, allocations: 157.7 kB / 0.6894 GB, free: 6.898 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/0.1688, allocations: 33.7 kB / 0.6894 GB, free: 6.859 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.478e-05/0.1688, allocations: 116.1 kB / 0.6895 GB, free: 6.738 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.218e-05/0.1689, allocations: 55.25 kB / 0.6896 GB, free: 6.684 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.544e-05/0.169, allocations: 37.7 kB / 0.6896 GB, free: 6.641 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1691, allocations: 334.8 kB / 0.6899 GB, free: 6.305 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003662/0.1695, allocations: 99.94 kB / 0.69 GB, free: 6.207 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003844/0.1699, allocations: 127.5 kB / 0.6901 GB, free: 6.078 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006915/0.1706, allocations: 200.7 kB / 0.6903 GB, free: 5.879 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1706, allocations: 0 / 0.6903 GB, free: 5.879 MB / 494.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008269/0.1715, allocations: 269.3 kB / 0.6906 GB, free: 5.609 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.1715, allocations: 8.031 kB / 0.6906 GB, free: 5.602 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.1715, allocations: 3.984 kB / 0.6906 GB, free: 5.598 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.1715, allocations: 3.938 kB / 0.6906 GB, free: 5.594 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003662/0.1719, allocations: 51.91 kB / 0.6906 GB, free: 5.543 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.1719, allocations: 4 kB / 0.6906 GB, free: 5.539 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002995/0.1722, allocations: 35.81 kB / 0.6907 GB, free: 5.504 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.1722, allocations: 11.94 kB / 0.6907 GB, free: 5.492 MB / 494.1 MB 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.0001234/0.1724, allocations: 127.1 kB / 0.6908 GB, free: 5.359 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.237e-05/0.1724, allocations: 15.81 kB / 0.6908 GB, free: 5.344 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008741/0.1733, allocations: 272.1 kB / 0.6911 GB, free: 5.07 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-06/0.1733, allocations: 3.938 kB / 0.6911 GB, free: 5.066 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.1733, allocations: 0 / 0.6911 GB, free: 5.066 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1733, allocations: 0 / 0.6911 GB, free: 5.066 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001896/0.1752, allocations: 1.066 MB / 0.6921 GB, free: 3.844 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.1753, allocations: 4 kB / 0.6921 GB, free: 3.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003331/0.1756, allocations: 43.95 kB / 0.6922 GB, free: 3.797 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1756, allocations: 0 / 0.6922 GB, free: 3.797 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.1756, allocations: 8.062 kB / 0.6922 GB, free: 3.789 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.1756, allocations: 4 kB / 0.6922 GB, free: 3.785 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.1756, allocations: 4 kB / 0.6922 GB, free: 3.781 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008419/0.1765, allocations: 355.5 kB / 0.6925 GB, free: 3.414 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.023e-05/0.1766, allocations: 93 kB / 0.6926 GB, free: 3.305 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.944e-05/0.1766, allocations: 8 kB / 0.6926 GB, free: 3.297 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003288/0.1769, allocations: 23.97 kB / 0.6927 GB, free: 3.273 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.177, allocations: 11.98 kB / 0.6927 GB, free: 3.262 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.177, allocations: 4 kB / 0.6927 GB, free: 3.258 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.202e-05/0.1771, allocations: 117.3 kB / 0.6928 GB, free: 3.145 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1771, allocations: 4 kB / 0.6928 GB, free: 3.141 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004539/0.1776, allocations: 135.9 kB / 0.6929 GB, free: 3.008 MB / 494.1 MB 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.001482/0.1791, allocations: 1.005 MB / 0.6939 GB, free: 1.973 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008202/0.1799, allocations: 239.8 kB / 0.6941 GB, free: 1.738 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.1799, allocations: 0 / 0.6941 GB, free: 1.738 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003928/0.1803, allocations: 111.9 kB / 0.6942 GB, free: 1.629 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.1807, allocations: 48 kB / 0.6943 GB, free: 1.582 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005274/0.186, allocations: 2.37 MB / 0.6966 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.1864, allocations: 0.7086 MB / 0.6973 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002028/0.1866, allocations: 32.8 kB / 0.6973 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.1867, allocations: 47.36 kB / 0.6974 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of SimCode: time 2.144e-06/0.1867, allocations: 0 / 0.6974 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02766/0.2144, allocations: 6.316 MB / 0.7035 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.656/7.87, allocations: 0 / 0.7035 GB, free: 8.168 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1)