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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.6839/0.6839, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 181.8 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.239/1.239, allocations: 221.3 MB / 441.4 MB, free: 4.598 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008294/0.0008294, allocations: 94.17 kB / 0.5124 GB, free: 24.16 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00165/0.00165, allocations: 260.5 kB / 0.5939 GB, free: 7.988 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.813e-05/3.827e-05, allocations: 8 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3862, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1084/0.4947, allocations: 115.2 MB / 0.8769 GB, free: 9.309 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/0.4949, allocations: 84.78 kB / 0.877 GB, free: 9.227 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02249/0.5174, allocations: 8.267 MB / 0.885 GB, free: 0.9648 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5175, allocations: 0 / 0.885 GB, free: 0.9648 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.5175, allocations: 4 kB / 0.885 GB, free: 0.9609 MB / 0.5417 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.0006284/0.5181, allocations: 494.2 kB / 0.8855 GB, free: 444 kB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.5181, allocations: 8.031 kB / 0.8855 GB, free: 436 kB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.84e-05/0.5182, allocations: 50.55 kB / 0.8856 GB, free: 376 kB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009806/0.5192, allocations: 144.3 kB / 0.8857 GB, free: 232 kB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.5193, allocations: 182.8 kB / 0.8859 GB, free: 8 kB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.944e-05/0.5194, allocations: 53.7 kB / 0.8859 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.274e-05/0.5194, allocations: 16 kB / 0.8859 GB, free: 15.93 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.5198, allocations: 185.1 kB / 0.8861 GB, free: 15.74 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.5198, allocations: 4 kB / 0.8861 GB, free: 15.74 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/0.5198, allocations: 4 kB / 0.8861 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.5198, allocations: 7.938 kB / 0.8861 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000282/0.5201, allocations: 176 kB / 0.8863 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/0.5214, allocations: 0.9945 MB / 0.8873 GB, free: 14.45 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/0.5216, allocations: 148.8 kB / 0.8874 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.5218, allocations: 80.84 kB / 0.8875 GB, free: 14.21 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005639/0.5223, allocations: 0.5181 MB / 0.888 GB, free: 13.58 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.5224, allocations: 34.56 kB / 0.888 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=16): time 2.565e-06/0.5224, allocations: 3.984 kB / 0.888 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of matching and sorting (n=16): time 0.0003546/0.5227, allocations: 185.4 kB / 0.8882 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.5228, allocations: 51.41 kB / 0.8883 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.5229, allocations: 148.3 kB / 0.8884 GB, free: 13.13 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.5229, allocations: 33.7 kB / 0.8884 GB, free: 13.09 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.638e-05/0.523, allocations: 120.1 kB / 0.8885 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.349e-05/0.5231, allocations: 59.19 kB / 0.8886 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.359e-05/0.5231, allocations: 4 kB / 0.8886 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.041e-05/0.5232, allocations: 322.8 kB / 0.8889 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.5233, allocations: 72.38 kB / 0.889 GB, free: 12.51 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.5234, allocations: 91.95 kB / 0.8891 GB, free: 12.41 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.5236, allocations: 66.98 kB / 0.8891 GB, free: 12.35 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5236, allocations: 0 / 0.8891 GB, free: 12.35 MB / 0.5573 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003244/0.5239, allocations: 212.2 kB / 0.8893 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.5239, allocations: 4 kB / 0.8893 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.5239, allocations: 3.984 kB / 0.8893 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.524, allocations: 4 kB / 0.8894 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003386/0.5243, allocations: 47.91 kB / 0.8894 GB, free: 12.08 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.537e-06/0.5243, allocations: 7.984 kB / 0.8894 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002813/0.5246, allocations: 39.72 kB / 0.8894 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.5246, allocations: 4 kB / 0.8894 GB, free: 12.03 MB / 0.5573 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 ($PRE.com.isOn,com.isOn) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.353e-05/0.5247, allocations: 109 kB / 0.8895 GB, free: 11.92 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-05/0.5248, allocations: 19.84 kB / 0.8896 GB, free: 11.9 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003698/0.5251, allocations: 221.3 kB / 0.8898 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.5251, allocations: 4 kB / 0.8898 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.5252, allocations: 0 / 0.8898 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.5252, allocations: 3.953 kB / 0.8898 GB, free: 11.67 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/0.5263, allocations: 1.002 MB / 0.8908 GB, free: 10.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.5263, allocations: 0 / 0.8908 GB, free: 10.52 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002986/0.5266, allocations: 51.89 kB / 0.8908 GB, free: 10.47 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.5267, allocations: 8.016 kB / 0.8908 GB, free: 10.46 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.5267, allocations: 4 kB / 0.8908 GB, free: 10.46 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.5267, allocations: 0 / 0.8908 GB, free: 10.46 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5267, allocations: 4 kB / 0.8908 GB, free: 10.45 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00033/0.527, allocations: 322.2 kB / 0.8911 GB, free: 10.11 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.86e-05/0.5271, allocations: 104.8 kB / 0.8912 GB, free: 9.984 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.954e-05/0.5271, allocations: 0 / 0.8912 GB, free: 9.984 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002976/0.5274, allocations: 27.97 kB / 0.8913 GB, free: 9.957 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/0.5275, allocations: 7.984 kB / 0.8913 GB, free: 9.949 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.5275, allocations: 11.98 kB / 0.8913 GB, free: 9.938 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.749e-05/0.5276, allocations: 126.1 kB / 0.8914 GB, free: 9.816 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5276, allocations: 0 / 0.8914 GB, free: 9.816 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003947/0.528, allocations: 135.9 kB / 0.8915 GB, free: 9.684 MB / 0.5573 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008832/0.5289, allocations: 1.116 MB / 0.8926 GB, free: 8.523 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002979/0.5292, allocations: 165.8 kB / 0.8928 GB, free: 8.363 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5292, allocations: 0 / 0.8928 GB, free: 8.363 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.5293, allocations: 91.86 kB / 0.8929 GB, free: 8.273 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.5296, allocations: 40.16 kB / 0.8929 GB, free: 8.234 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/0.5314, allocations: 436.7 kB / 0.8933 GB, free: 7.762 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002112/0.5316, allocations: 0.7129 MB / 0.894 GB, free: 7.023 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001791/0.5318, allocations: 33.47 kB / 0.8941 GB, free: 6.992 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.5319, allocations: 47.41 kB / 0.8941 GB, free: 6.945 MB / 0.5573 GB Notification: Performance of SimCode: time 2.61e-07/0.5319, allocations: 4 kB / 0.8941 GB, free: 6.941 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0151/0.547, allocations: 5.676 MB / 0.8996 GB, free: 1.488 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001827/0.5473, allocations: 180.6 kB / 0.8998 GB, free: 1.262 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.636/2.183, allocations: 6.391 kB / 0.8998 GB, free: 1.258 MB / 0.5573 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1)