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.004309/0.004309, allocations: 98.19 kB / 15.73 MB, free: 6.012 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.001056/0.001056, allocations: 197.2 kB / 16.67 MB, free: 5.949 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.269/1.269, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00206/0.00206, allocations: 290.5 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8937/0.8937, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 91.92 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1474, allocations: 86.97 MB / 0.7659 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003417/0.1508, allocations: 2.021 MB / 0.7679 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00265/0.1535, allocations: 1.66 MB / 0.7695 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.1536, allocations: 4 kB / 0.7695 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.747e-05/0.1537, allocations: 23.78 kB / 0.7695 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001386/0.1539, allocations: 55.48 kB / 0.7696 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.155, allocations: 348.6 kB / 0.7699 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002924/0.1553, allocations: 239 kB / 0.7701 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.1555, allocations: 59.98 kB / 0.7702 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.1556, allocations: 79.83 kB / 0.7703 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.1558, allocations: 95.66 kB / 0.7704 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.665e-05/0.1558, allocations: 20 kB / 0.7704 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008268/0.1567, allocations: 411.5 kB / 0.7708 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.698e-05/0.1567, allocations: 55.77 kB / 0.7708 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.1568, allocations: 87.66 kB / 0.7709 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008644/0.1577, allocations: 442.5 kB / 0.7713 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1577, allocations: 0 / 0.7713 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.575e-06/0.1577, allocations: 0 / 0.7713 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.641e-05/0.1578, allocations: 0 / 0.7713 GB, free: 3.344 MB / 0.5606 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.001045/0.1588, allocations: 0.5257 MB / 0.7718 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.039e-05/0.1589, allocations: 8.031 kB / 0.7718 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.398e-05/0.159, allocations: 54.73 kB / 0.7719 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.1601, allocations: 140.6 kB / 0.772 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.1602, allocations: 180.2 kB / 0.7722 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.987e-05/0.1603, allocations: 50.02 kB / 0.7723 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.717e-05/0.1604, allocations: 16.38 kB / 0.7723 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005753/0.161, allocations: 226.2 kB / 0.7725 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.161, allocations: 0 / 0.7725 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.989e-05/0.161, allocations: 12 kB / 0.7725 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.161, allocations: 8 kB / 0.7725 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000706/0.1617, allocations: 235.8 kB / 0.7727 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.1631, allocations: 0.9703 MB / 0.7737 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004664/0.1636, allocations: 178.6 kB / 0.7738 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003296/0.1639, allocations: 108.8 kB / 0.7739 GB, free: 416 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3031/0.467, allocations: 0.5175 MB / 0.7745 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/0.4671, allocations: 35.61 kB / 0.7745 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 2.144e-06/0.4671, allocations: 0 / 0.7745 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.001262/0.4684, allocations: 331.1 kB / 0.7748 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.057e-05/0.4684, allocations: 54.41 kB / 0.7749 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.4685, allocations: 158.6 kB / 0.775 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.4686, allocations: 32.42 kB / 0.775 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.532e-05/0.4686, allocations: 118.7 kB / 0.7752 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.099e-05/0.4687, allocations: 55.8 kB / 0.7752 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.027e-05/0.4688, allocations: 42.53 kB / 0.7752 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.597e-05/0.4688, allocations: 330.1 kB / 0.7756 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003497/0.4692, allocations: 101.8 kB / 0.7757 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000357/0.4695, allocations: 127.3 kB / 0.7758 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000643/0.4702, allocations: 196.7 kB / 0.776 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4702, allocations: 0 / 0.776 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007626/0.471, allocations: 268.9 kB / 0.7762 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.471, allocations: 5.531 kB / 0.7762 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.471, allocations: 1.953 kB / 0.7762 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.471, allocations: 0.5938 kB / 0.7762 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003584/0.4714, allocations: 50.12 kB / 0.7763 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.4714, allocations: 11.03 kB / 0.7763 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002774/0.4717, allocations: 36.83 kB / 0.7763 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.4717, allocations: 5.047 kB / 0.7763 GB, free: 13.64 MB / 0.5606 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 8.706e-05/0.4718, allocations: 126.7 kB / 0.7764 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.851e-05/0.4719, allocations: 15.75 kB / 0.7765 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007914/0.4727, allocations: 268.3 kB / 0.7767 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.4727, allocations: 2.422 kB / 0.7767 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.4727, allocations: 5.594 kB / 0.7767 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4727, allocations: 4.609 kB / 0.7767 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001594/0.4743, allocations: 1.062 MB / 0.7778 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.4743, allocations: 2.453 kB / 0.7778 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003122/0.4746, allocations: 50.08 kB / 0.7778 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.4746, allocations: 2.391 kB / 0.7778 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.4747, allocations: 6.109 kB / 0.7778 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.4747, allocations: 2.391 kB / 0.7778 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.4747, allocations: 1.641 kB / 0.7778 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007344/0.4754, allocations: 349.8 kB / 0.7782 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.969e-05/0.4755, allocations: 93.33 kB / 0.7783 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.746e-05/0.4755, allocations: 5.516 kB / 0.7783 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003142/0.4758, allocations: 28.75 kB / 0.7783 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.4759, allocations: 10.3 kB / 0.7783 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.4759, allocations: 10.05 kB / 0.7783 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.416e-05/0.476, allocations: 118 kB / 0.7784 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.476, allocations: 4.266 kB / 0.7784 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004439/0.4764, allocations: 136.4 kB / 0.7786 GB, free: 12.26 MB / 0.5606 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.001182/0.4776, allocations: 1.01 MB / 0.7795 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007666/0.4784, allocations: 232.3 kB / 0.7798 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4784, allocations: 4.062 kB / 0.7798 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003441/0.4788, allocations: 115.2 kB / 0.7799 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.4792, allocations: 49.5 kB / 0.7799 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00449/0.4837, allocations: 2.372 MB / 0.7822 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.4838, allocations: 0.7135 MB / 0.7829 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001802/0.484, allocations: 37.06 kB / 0.783 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.4841, allocations: 43.8 kB / 0.783 GB, free: 9 MB / 0.5606 GB Notification: Performance of SimCode: time 5.51e-07/0.4841, allocations: 0 / 0.783 GB, free: 9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/0.5066, allocations: 6.377 MB / 0.7892 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.227/7.734, allocations: 5.047 kB / 0.7892 GB, free: 8.363 MB / 0.5606 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)