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.005421/0.005421, allocations: 96.39 kB / 15.73 MB, free: 6.484 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.001243/0.001243, allocations: 192.5 kB / 16.67 MB, free: 6.391 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002488/0.002488, allocations: 275.1 kB / 290.8 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9912/0.9912, allocations: 178.6 MB / 0.5074 GB, free: 4.488 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002532/0.002532, allocations: 96.44 kB / 0.6943 GB, free: 3.629 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4419/0.4444, allocations: 89.13 MB / 0.7813 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003202/0.4477, allocations: 2.028 MB / 0.7833 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002367/0.45, allocations: 1.671 MB / 0.7849 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.675e-05/0.4501, allocations: 2.719 kB / 0.7849 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.61e-05/0.4502, allocations: 19.2 kB / 0.785 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000107/0.4503, allocations: 47.95 kB / 0.785 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009111/0.4512, allocations: 359.5 kB / 0.7854 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002354/0.4515, allocations: 232.8 kB / 0.7856 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.4516, allocations: 49.5 kB / 0.7856 GB, free: 11 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.4517, allocations: 83.34 kB / 0.7857 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.4519, allocations: 94.27 kB / 0.7858 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.216e-05/0.4519, allocations: 18.75 kB / 0.7858 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007648/0.4527, allocations: 415.6 kB / 0.7862 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.142e-05/0.4528, allocations: 51.91 kB / 0.7863 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.273e-05/0.4528, allocations: 87.45 kB / 0.7863 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005997/0.4535, allocations: 435.7 kB / 0.7868 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.4535, allocations: 1.781 kB / 0.7868 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.085e-06/0.4535, allocations: 0 / 0.7868 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.4535, allocations: 4.641 kB / 0.7868 GB, free: 10.57 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.0008422/0.4543, allocations: 0.5247 MB / 0.7873 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.4544, allocations: 9.438 kB / 0.7873 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.6e-05/0.4544, allocations: 52.59 kB / 0.7873 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.4555, allocations: 140.4 kB / 0.7875 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.4557, allocations: 179.3 kB / 0.7876 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.314e-05/0.4558, allocations: 53.19 kB / 0.7877 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.563e-05/0.4558, allocations: 22.97 kB / 0.7877 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005618/0.4564, allocations: 221.1 kB / 0.7879 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.4564, allocations: 0 / 0.7879 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.4564, allocations: 7.078 kB / 0.7879 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-06/0.4564, allocations: 4.062 kB / 0.7879 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007213/0.4572, allocations: 236.3 kB / 0.7882 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.4586, allocations: 0.9785 MB / 0.7891 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004915/0.4591, allocations: 177.4 kB / 0.7893 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000375/0.4595, allocations: 110.5 kB / 0.7894 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006857/0.4602, allocations: 0.5198 MB / 0.7899 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.4602, allocations: 37.11 kB / 0.7899 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.203e-06/0.4602, allocations: 0 / 0.7899 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.001231/0.4615, allocations: 334.4 kB / 0.7902 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.4615, allocations: 54.02 kB / 0.7903 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.4617, allocations: 158.7 kB / 0.7904 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.4617, allocations: 34.64 kB / 0.7905 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.413e-05/0.4618, allocations: 119.8 kB / 0.7906 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.363e-05/0.4619, allocations: 58.91 kB / 0.7907 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.474e-05/0.462, allocations: 40.17 kB / 0.7907 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.4621, allocations: 330.8 kB / 0.791 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003542/0.4625, allocations: 103.2 kB / 0.7911 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003674/0.4628, allocations: 124 kB / 0.7912 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006576/0.4635, allocations: 196.2 kB / 0.7914 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4635, allocations: 0 / 0.7914 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007859/0.4643, allocations: 272 kB / 0.7917 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.4643, allocations: 11.11 kB / 0.7917 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.4643, allocations: 1.219 kB / 0.7917 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.4644, allocations: 9.031 kB / 0.7917 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00034/0.4647, allocations: 46.94 kB / 0.7917 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.4647, allocations: 1.906 kB / 0.7917 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000271/0.465, allocations: 36.27 kB / 0.7918 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.465, allocations: 6.609 kB / 0.7918 GB, free: 6.832 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 0.000116/0.4652, allocations: 128.2 kB / 0.7919 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.756e-05/0.4652, allocations: 16.06 kB / 0.7919 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008186/0.466, allocations: 262.1 kB / 0.7922 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.466, allocations: 5.406 kB / 0.7922 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4661, allocations: 0 / 0.7922 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4661, allocations: 1.406 kB / 0.7922 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001822/0.4679, allocations: 1.081 MB / 0.7932 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.4679, allocations: 2.078 kB / 0.7932 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003032/0.4682, allocations: 38.58 kB / 0.7933 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.4682, allocations: 1.062 kB / 0.7933 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.4683, allocations: 8.016 kB / 0.7933 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.4683, allocations: 5.922 kB / 0.7933 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.4683, allocations: 5.125 kB / 0.7933 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007855/0.4691, allocations: 353.8 kB / 0.7936 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.674e-05/0.4691, allocations: 93.12 kB / 0.7937 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.562e-05/0.4692, allocations: 3.25 kB / 0.7937 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003084/0.4695, allocations: 29.78 kB / 0.7937 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.4695, allocations: 9.625 kB / 0.7938 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.4696, allocations: 9.031 kB / 0.7938 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.167e-05/0.4696, allocations: 117.8 kB / 0.7939 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4697, allocations: 0 / 0.7939 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004737/0.4701, allocations: 137.4 kB / 0.794 GB, free: 5.16 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.001387/0.4715, allocations: 1.001 MB / 0.795 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007594/0.4723, allocations: 233.8 kB / 0.7952 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.918e-06/0.4723, allocations: 5.219 kB / 0.7952 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003378/0.4727, allocations: 116.9 kB / 0.7953 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.4731, allocations: 47.97 kB / 0.7954 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004885/0.478, allocations: 2.369 MB / 0.7977 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.4783, allocations: 0.7142 MB / 0.7984 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001741/0.4785, allocations: 31.72 kB / 0.7984 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.4786, allocations: 43.81 kB / 0.7984 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of SimCode: time 3.91e-07/0.4786, allocations: 1 kB / 0.7984 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02854/0.5071, allocations: 6.386 MB / 0.8047 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.854/8.362, allocations: 11.17 kB / 0.8047 GB, free: 14.82 MB / 0.5762 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)