Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.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_ZeroInput,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput",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.005515/0.005515, allocations: 99.31 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.001479/0.001479, allocations: 197.3 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002412/0.002412, allocations: 287.1 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.012/1.012, allocations: 178.6 MB / 0.5074 GB, free: 4.473 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002612/0.002612, allocations: 99.84 kB / 0.6943 GB, free: 3.621 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4161/0.4187, allocations: 89.15 MB / 0.7813 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput): time 0.003506/0.4223, allocations: 2.019 MB / 0.7833 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002501/0.4248, allocations: 1.665 MB / 0.7849 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.047e-05/0.4249, allocations: 2.719 kB / 0.7849 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.44e-05/0.425, allocations: 19.38 kB / 0.785 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001163/0.4251, allocations: 53.36 kB / 0.785 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.4261, allocations: 359.1 kB / 0.7853 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002481/0.4264, allocations: 231.8 kB / 0.7856 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.4265, allocations: 57.84 kB / 0.7856 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.4267, allocations: 79.69 kB / 0.7857 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.4268, allocations: 90.28 kB / 0.7858 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.272e-05/0.4269, allocations: 22.89 kB / 0.7858 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008381/0.4277, allocations: 412.8 kB / 0.7862 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.042e-05/0.4278, allocations: 42.11 kB / 0.7862 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.864e-05/0.4279, allocations: 99.3 kB / 0.7863 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006377/0.4285, allocations: 440.7 kB / 0.7868 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.4285, allocations: 0 / 0.7868 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.557e-06/0.4285, allocations: 0 / 0.7868 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.4285, allocations: 4.688 kB / 0.7868 GB, free: 10.45 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.0008747/0.4294, allocations: 0.5254 MB / 0.7873 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.4295, allocations: 12.62 kB / 0.7873 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.934e-05/0.4295, allocations: 53.62 kB / 0.7873 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/0.4306, allocations: 140 kB / 0.7875 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.4308, allocations: 178.8 kB / 0.7876 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.045e-05/0.4309, allocations: 53.73 kB / 0.7877 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.4309, allocations: 15.38 kB / 0.7877 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005851/0.4315, allocations: 217.2 kB / 0.7879 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.4315, allocations: 0.6562 kB / 0.7879 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.835e-05/0.4316, allocations: 9.438 kB / 0.7879 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.4316, allocations: 8.406 kB / 0.7879 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007292/0.4323, allocations: 232 kB / 0.7882 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/0.4338, allocations: 0.9767 MB / 0.7891 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004867/0.4343, allocations: 176.5 kB / 0.7893 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003824/0.4347, allocations: 109.6 kB / 0.7894 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007019/0.4354, allocations: 0.5237 MB / 0.7899 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.4354, allocations: 36.67 kB / 0.7899 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.914e-06/0.4354, allocations: 0 / 0.7899 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.001267/0.4367, allocations: 329.5 kB / 0.7902 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.4368, allocations: 53.7 kB / 0.7903 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.4369, allocations: 158.7 kB / 0.7904 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/0.437, allocations: 30.92 kB / 0.7905 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.82e-05/0.4371, allocations: 115.5 kB / 0.7906 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.201e-05/0.4371, allocations: 67.41 kB / 0.7906 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.865e-05/0.4372, allocations: 39.7 kB / 0.7907 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.4374, allocations: 330.4 kB / 0.791 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003525/0.4377, allocations: 100.6 kB / 0.7911 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003634/0.4381, allocations: 124.9 kB / 0.7912 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006484/0.4388, allocations: 198.1 kB / 0.7914 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4388, allocations: 1.469 kB / 0.7914 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008102/0.4396, allocations: 273 kB / 0.7917 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.4396, allocations: 5.406 kB / 0.7917 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.4396, allocations: 4.641 kB / 0.7917 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.4397, allocations: 6.031 kB / 0.7917 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003482/0.44, allocations: 53.7 kB / 0.7917 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.44, allocations: 5.812 kB / 0.7917 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000274/0.4403, allocations: 32.25 kB / 0.7918 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.4403, allocations: 7.016 kB / 0.7918 GB, free: 6.707 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.0001264/0.4405, allocations: 125.1 kB / 0.7919 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.925e-05/0.4405, allocations: 15.44 kB / 0.7919 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008456/0.4414, allocations: 266.1 kB / 0.7922 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.4414, allocations: 6.125 kB / 0.7922 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4414, allocations: 0.5625 kB / 0.7922 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.4414, allocations: 5.734 kB / 0.7922 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001863/0.4433, allocations: 1.073 MB / 0.7932 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.4433, allocations: 6 kB / 0.7932 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003075/0.4436, allocations: 39.11 kB / 0.7933 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.4436, allocations: 5.438 kB / 0.7933 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.4437, allocations: 3.594 kB / 0.7933 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.4437, allocations: 1.438 kB / 0.7933 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4437, allocations: 2.047 kB / 0.7933 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007936/0.4445, allocations: 348.4 kB / 0.7936 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.801e-05/0.4445, allocations: 93.88 kB / 0.7937 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.895e-05/0.4446, allocations: 6.719 kB / 0.7937 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003179/0.4449, allocations: 29.19 kB / 0.7937 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.445, allocations: 11.09 kB / 0.7937 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.445, allocations: 8.562 kB / 0.7938 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.502e-05/0.4451, allocations: 122.5 kB / 0.7939 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4451, allocations: 0 / 0.7939 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004877/0.4456, allocations: 134.3 kB / 0.794 GB, free: 5.039 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.001443/0.447, allocations: 1.004 MB / 0.795 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007819/0.4478, allocations: 235.5 kB / 0.7952 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.4478, allocations: 0 / 0.7952 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003569/0.4482, allocations: 122.7 kB / 0.7953 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.4486, allocations: 51.83 kB / 0.7954 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004588/0.4532, allocations: 2.323 MB / 0.7976 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.4536, allocations: 0.7168 MB / 0.7983 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001942/0.4538, allocations: 32 kB / 0.7984 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.4539, allocations: 44.47 kB / 0.7984 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of SimCode: time 6.81e-07/0.4539, allocations: 0 / 0.7984 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0296/0.4835, allocations: 6.382 MB / 0.8046 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.672/8.155, allocations: 18.41 kB / 0.8047 GB, free: 14.74 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput_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_ZeroInput.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe 2>&1)