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.004766/0.004766, allocations: 99.75 kB / 15.73 MB, free: 6.039 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.001226/0.001226, allocations: 192.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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002389/0.002389, allocations: 297.8 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9644/0.9644, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003576/0.003576, allocations: 91.84 kB / 0.681 GB, free: 7.461 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4154/0.419, allocations: 86.97 MB / 0.7659 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003223/0.4223, allocations: 2.023 MB / 0.7679 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002475/0.4248, allocations: 1.667 MB / 0.7695 GB, free: 132 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.166e-05/0.4249, allocations: 4 kB / 0.7695 GB, free: 128 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.443e-05/0.425, allocations: 15.8 kB / 0.7695 GB, free: 112 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.4251, allocations: 51.55 kB / 0.7696 GB, free: 60 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009434/0.426, allocations: 358.8 kB / 0.7699 GB, free: 15.71 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002464/0.4263, allocations: 227.2 kB / 0.7701 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.4265, allocations: 69.22 kB / 0.7702 GB, free: 15.42 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.4266, allocations: 79.78 kB / 0.7703 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.4267, allocations: 91.67 kB / 0.7704 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.675e-05/0.4268, allocations: 23.98 kB / 0.7704 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007879/0.4276, allocations: 415.5 kB / 0.7708 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.054e-05/0.4276, allocations: 43.91 kB / 0.7708 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.4278, allocations: 91.58 kB / 0.7709 GB, free: 14.69 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006218/0.4284, allocations: 432 kB / 0.7713 GB, free: 14.27 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.4284, allocations: 0 / 0.7713 GB, free: 14.27 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4284, allocations: 0 / 0.7713 GB, free: 14.27 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.367e-06/0.4284, allocations: 3.984 kB / 0.7713 GB, free: 14.27 MB / 0.545 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.000925/0.4293, allocations: 0.5322 MB / 0.7718 GB, free: 13.69 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.4294, allocations: 8.031 kB / 0.7718 GB, free: 13.68 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.715e-05/0.4295, allocations: 54.73 kB / 0.7719 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.4305, allocations: 144.6 kB / 0.772 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.4307, allocations: 180.1 kB / 0.7722 GB, free: 13.26 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.174e-05/0.4308, allocations: 50 kB / 0.7723 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.374e-05/0.4308, allocations: 24.31 kB / 0.7723 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000578/0.4314, allocations: 222.8 kB / 0.7725 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.4314, allocations: 0 / 0.7725 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/0.4314, allocations: 8 kB / 0.7725 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.4315, allocations: 4 kB / 0.7725 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007082/0.4322, allocations: 227.9 kB / 0.7727 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.4337, allocations: 0.9664 MB / 0.7737 GB, free: 11.63 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004899/0.4342, allocations: 182.6 kB / 0.7738 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003355/0.4345, allocations: 112.7 kB / 0.7739 GB, free: 11.33 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006739/0.4352, allocations: 0.5181 MB / 0.7745 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.4352, allocations: 38.56 kB / 0.7745 GB, free: 10.66 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.233e-06/0.4352, allocations: 0 / 0.7745 GB, free: 10.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.001132/0.4364, allocations: 336.7 kB / 0.7748 GB, free: 10.32 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.4364, allocations: 55.41 kB / 0.7749 GB, free: 10.26 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.4366, allocations: 157.3 kB / 0.775 GB, free: 10.1 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/0.4367, allocations: 33.7 kB / 0.775 GB, free: 10.06 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.027e-05/0.4368, allocations: 120.3 kB / 0.7752 GB, free: 9.934 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.31e-05/0.4368, allocations: 59.47 kB / 0.7752 GB, free: 9.875 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.16e-05/0.4369, allocations: 37.7 kB / 0.7753 GB, free: 9.832 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.4371, allocations: 330.8 kB / 0.7756 GB, free: 9.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003506/0.4374, allocations: 103.9 kB / 0.7757 GB, free: 9.398 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003615/0.4378, allocations: 122.2 kB / 0.7758 GB, free: 9.273 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006473/0.4385, allocations: 199.6 kB / 0.776 GB, free: 9.074 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4385, allocations: 0 / 0.776 GB, free: 9.074 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007837/0.4393, allocations: 271.7 kB / 0.7762 GB, free: 8.805 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.4393, allocations: 4 kB / 0.7762 GB, free: 8.801 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.4393, allocations: 3.938 kB / 0.7762 GB, free: 8.797 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.4393, allocations: 11.97 kB / 0.7763 GB, free: 8.785 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003386/0.4397, allocations: 47.95 kB / 0.7763 GB, free: 8.738 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.4397, allocations: 0 / 0.7763 GB, free: 8.738 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002626/0.44, allocations: 31.86 kB / 0.7763 GB, free: 8.707 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.44, allocations: 12 kB / 0.7763 GB, free: 8.695 MB / 0.545 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.0001256/0.4401, allocations: 128.2 kB / 0.7765 GB, free: 8.562 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.815e-05/0.4402, allocations: 15.91 kB / 0.7765 GB, free: 8.547 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008348/0.441, allocations: 266.7 kB / 0.7767 GB, free: 8.281 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.441, allocations: 3.938 kB / 0.7767 GB, free: 8.277 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.441, allocations: 0 / 0.7767 GB, free: 8.277 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.906e-06/0.441, allocations: 7.984 kB / 0.7767 GB, free: 8.27 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001815/0.4429, allocations: 1.084 MB / 0.7778 GB, free: 7.031 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.4429, allocations: 4 kB / 0.7778 GB, free: 7.027 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002971/0.4432, allocations: 35.97 kB / 0.7778 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.4432, allocations: 7.938 kB / 0.7778 GB, free: 6.984 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.4432, allocations: 4 kB / 0.7779 GB, free: 6.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.4432, allocations: 0 / 0.7779 GB, free: 6.98 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.4432, allocations: 12.05 kB / 0.7779 GB, free: 6.969 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007691/0.444, allocations: 345 kB / 0.7782 GB, free: 6.609 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.923e-05/0.4441, allocations: 89 kB / 0.7783 GB, free: 6.504 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.396e-05/0.4441, allocations: 4 kB / 0.7783 GB, free: 6.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002971/0.4444, allocations: 27.97 kB / 0.7783 GB, free: 6.473 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.4445, allocations: 11.98 kB / 0.7783 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.4445, allocations: 11.98 kB / 0.7783 GB, free: 6.449 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.904e-05/0.4446, allocations: 117.3 kB / 0.7784 GB, free: 6.336 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4446, allocations: 0 / 0.7784 GB, free: 6.336 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004348/0.445, allocations: 135.6 kB / 0.7786 GB, free: 6.203 MB / 0.545 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.001414/0.4465, allocations: 1.002 MB / 0.7796 GB, free: 5.172 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000746/0.4472, allocations: 235.8 kB / 0.7798 GB, free: 4.941 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4472, allocations: 64 / 0.7798 GB, free: 4.941 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003476/0.4476, allocations: 119.8 kB / 0.7799 GB, free: 4.824 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000415/0.448, allocations: 44.09 kB / 0.7799 GB, free: 4.781 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004823/0.4529, allocations: 2.372 MB / 0.7822 GB, free: 2.312 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.4532, allocations: 0.7086 MB / 0.7829 GB, free: 1.578 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001752/0.4534, allocations: 39.03 kB / 0.783 GB, free: 1.547 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.4535, allocations: 47.36 kB / 0.783 GB, free: 1.5 MB / 0.545 GB Notification: Performance of SimCode: time 6.21e-07/0.4535, allocations: 0 / 0.783 GB, free: 1.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02779/0.4813, allocations: 6.359 MB / 0.7892 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.679/8.16, allocations: 8.641 kB / 0.7892 GB, free: 11.32 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)