Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_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.ReciprocatingCompressor_ZeroInput,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_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.001217/0.001217, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001302/0.001302, allocations: 187.3 kB / 16.25 MB, free: 6.145 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.288/1.288, allocations: 222.9 MB / 239.9 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002172/0.002172, allocations: 294.1 kB / 290.4 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8855/0.8855, allocations: 169.2 MB / 0.4978 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 104 kB / 0.5948 GB, free: 28.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1375, allocations: 86.97 MB / 0.6797 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002964/0.1405, allocations: 2.062 MB / 0.6817 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002139/0.1427, allocations: 1.642 MB / 0.6834 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.603e-05/0.1427, allocations: 7.938 kB / 0.6834 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.484e-05/0.1428, allocations: 11.86 kB / 0.6834 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.942e-05/0.1429, allocations: 47.67 kB / 0.6834 GB, free: 13.17 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007949/0.1437, allocations: 319.2 kB / 0.6837 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.1439, allocations: 219.2 kB / 0.6839 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.144, allocations: 53.67 kB / 0.684 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.666e-05/0.1441, allocations: 83.78 kB / 0.6841 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.1443, allocations: 87.67 kB / 0.6841 GB, free: 12.42 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.676e-05/0.1443, allocations: 16 kB / 0.6842 GB, free: 12.4 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006366/0.1449, allocations: 419.5 kB / 0.6846 GB, free: 11.99 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.408e-05/0.145, allocations: 39.84 kB / 0.6846 GB, free: 11.95 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.256e-05/0.1451, allocations: 99.59 kB / 0.6847 GB, free: 11.86 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004797/0.1456, allocations: 423 kB / 0.6851 GB, free: 11.44 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1456, allocations: 4 kB / 0.6851 GB, free: 11.44 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1456, allocations: 0 / 0.6851 GB, free: 11.44 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.1456, allocations: 0 / 0.6851 GB, free: 11.44 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007188/0.1463, allocations: 0.512 MB / 0.6856 GB, free: 10.87 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.1464, allocations: 16.03 kB / 0.6856 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.89e-05/0.1464, allocations: 50.67 kB / 0.6857 GB, free: 10.8 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005487/0.147, allocations: 80.73 kB / 0.6857 GB, free: 10.72 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.1471, allocations: 196.1 kB / 0.6859 GB, free: 10.49 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.357e-05/0.1472, allocations: 46.25 kB / 0.686 GB, free: 10.44 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.1472, allocations: 16.36 kB / 0.686 GB, free: 10.42 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003903/0.1476, allocations: 183.7 kB / 0.6862 GB, free: 10.24 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.1476, allocations: 0 / 0.6862 GB, free: 10.24 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/0.1477, allocations: 8 kB / 0.6862 GB, free: 10.23 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.1477, allocations: 4 kB / 0.6862 GB, free: 10.23 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004258/0.1481, allocations: 179.8 kB / 0.6863 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.1494, allocations: 0.9151 MB / 0.6872 GB, free: 9.012 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004896/0.1499, allocations: 170.6 kB / 0.6874 GB, free: 8.836 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/0.1501, allocations: 77.7 kB / 0.6875 GB, free: 8.758 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006164/0.1507, allocations: 0.5259 MB / 0.688 GB, free: 8.121 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.1507, allocations: 30.56 kB / 0.688 GB, free: 8.082 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.1507, allocations: 0 / 0.688 GB, free: 8.082 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006593/0.1514, allocations: 248 kB / 0.6883 GB, free: 7.836 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.1514, allocations: 55.41 kB / 0.6883 GB, free: 7.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.1516, allocations: 156.7 kB / 0.6885 GB, free: 7.609 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.1516, allocations: 29.7 kB / 0.6885 GB, free: 7.574 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.1517, allocations: 115.8 kB / 0.6886 GB, free: 7.457 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.773e-05/0.1517, allocations: 47.3 kB / 0.6886 GB, free: 7.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.775e-05/0.1518, allocations: 37.7 kB / 0.6887 GB, free: 7.367 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1519, allocations: 326.8 kB / 0.689 GB, free: 7.039 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.1521, allocations: 71.95 kB / 0.6891 GB, free: 6.969 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.1523, allocations: 97.67 kB / 0.6892 GB, free: 6.867 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003558/0.1527, allocations: 155.4 kB / 0.6893 GB, free: 6.711 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1527, allocations: 0 / 0.6893 GB, free: 6.711 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004605/0.1531, allocations: 219.2 kB / 0.6895 GB, free: 6.492 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.1532, allocations: 8 kB / 0.6895 GB, free: 6.484 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1532, allocations: 3.938 kB / 0.6895 GB, free: 6.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.1532, allocations: 0 / 0.6895 GB, free: 6.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/0.1534, allocations: 35.97 kB / 0.6896 GB, free: 6.445 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.1535, allocations: 8.031 kB / 0.6896 GB, free: 6.438 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.1536, allocations: 23.83 kB / 0.6896 GB, free: 6.414 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.1537, allocations: 11.98 kB / 0.6896 GB, free: 6.402 MB / 494.1 MB 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 (20): * Single equations (assignments): 20 * 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.0001212/0.1538, allocations: 135 kB / 0.6897 GB, free: 6.262 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.297e-05/0.1538, allocations: 15.81 kB / 0.6897 GB, free: 6.246 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005555/0.1544, allocations: 190.4 kB / 0.6899 GB, free: 6.055 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/0.1544, allocations: 4 kB / 0.6899 GB, free: 6.051 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1544, allocations: 3.984 kB / 0.6899 GB, free: 6.047 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1544, allocations: 0 / 0.6899 GB, free: 6.047 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/0.1558, allocations: 0.9816 MB / 0.6909 GB, free: 4.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1558, allocations: 0 / 0.6909 GB, free: 4.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/0.156, allocations: 35.97 kB / 0.6909 GB, free: 4.875 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.156, allocations: 3.984 kB / 0.6909 GB, free: 4.871 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.1561, allocations: 64 / 0.6909 GB, free: 4.871 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1561, allocations: 8 kB / 0.6909 GB, free: 4.863 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.1561, allocations: 0 / 0.6909 GB, free: 4.863 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004742/0.1566, allocations: 289 kB / 0.6912 GB, free: 4.559 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.1566, allocations: 93 kB / 0.6913 GB, free: 4.449 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.869e-05/0.1567, allocations: 8 kB / 0.6913 GB, free: 4.441 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002503/0.1569, allocations: 11.98 kB / 0.6913 GB, free: 4.43 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.157, allocations: 11.92 kB / 0.6913 GB, free: 4.418 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.157, allocations: 8 kB / 0.6913 GB, free: 4.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.821e-05/0.1571, allocations: 119.2 kB / 0.6914 GB, free: 4.293 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1571, allocations: 0 / 0.6914 GB, free: 4.293 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00045/0.1575, allocations: 127.8 kB / 0.6916 GB, free: 4.168 MB / 494.1 MB 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 (14): * Single equations (assignments): 14 * 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.001063/0.1586, allocations: 0.9511 MB / 0.6925 GB, free: 3.188 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005034/0.1591, allocations: 183.8 kB / 0.6927 GB, free: 3.008 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1591, allocations: 0 / 0.6927 GB, free: 3.008 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001934/0.1593, allocations: 79.91 kB / 0.6928 GB, free: 2.93 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004222/0.1598, allocations: 55.28 kB / 0.6928 GB, free: 2.879 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002674/0.1624, allocations: 2.114 MB / 0.6949 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.1628, allocations: 0.7125 MB / 0.6956 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001512/0.1629, allocations: 25.62 kB / 0.6956 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.03e-05/0.163, allocations: 43.42 kB / 0.6956 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.163, allocations: 0 / 0.6956 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2493/0.4124, allocations: 5.94 MB / 0.7014 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003044/0.4127, allocations: 247 kB / 0.7017 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.133/2.546, allocations: 0 / 0.7017 GB, free: 9.926 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1)