Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",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.001203/0.001203, 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.00128/0.001281, allocations: 195.7 kB / 16.26 MB, free: 6.625 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.299/1.299, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002022/0.002022, allocations: 286.5 kB / 290.3 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8973/0.8973, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 93.03 kB / 0.5948 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1424, allocations: 86.98 MB / 0.6797 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003642/0.1461, allocations: 2.047 MB / 0.6817 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002298/0.1484, allocations: 1.652 MB / 0.6833 GB, free: 13.26 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.507e-05/0.1485, allocations: 0 / 0.6833 GB, free: 13.26 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.13e-05/0.1486, allocations: 27.84 kB / 0.6834 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.1488, allocations: 35.69 kB / 0.6834 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.1498, allocations: 319.2 kB / 0.6837 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002304/0.15, allocations: 219.1 kB / 0.6839 GB, free: 12.67 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.1502, allocations: 57.67 kB / 0.684 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.1503, allocations: 79.83 kB / 0.6841 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.1505, allocations: 91.67 kB / 0.6841 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.704e-05/0.1505, allocations: 16 kB / 0.6842 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008116/0.1513, allocations: 427.4 kB / 0.6846 GB, free: 12.01 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.776e-05/0.1514, allocations: 43.83 kB / 0.6846 GB, free: 11.97 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.232e-05/0.1515, allocations: 87.66 kB / 0.6847 GB, free: 11.88 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005701/0.1521, allocations: 427 kB / 0.6851 GB, free: 11.46 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1521, allocations: 3.938 kB / 0.6851 GB, free: 11.46 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1521, allocations: 0 / 0.6851 GB, free: 11.46 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1521, allocations: 0 / 0.6851 GB, free: 11.46 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.0008346/0.1529, allocations: 0.5147 MB / 0.6856 GB, free: 10.89 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.153, allocations: 8.031 kB / 0.6856 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.015e-05/0.153, allocations: 50.73 kB / 0.6857 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005629/0.1536, allocations: 92.67 kB / 0.6857 GB, free: 10.73 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.1537, allocations: 176.2 kB / 0.6859 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.513e-05/0.1538, allocations: 50.23 kB / 0.686 GB, free: 10.47 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.242e-05/0.1538, allocations: 20.38 kB / 0.686 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004031/0.1543, allocations: 183.1 kB / 0.6862 GB, free: 10.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.1543, allocations: 0 / 0.6862 GB, free: 10.27 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.1543, allocations: 4 kB / 0.6862 GB, free: 10.26 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.1543, allocations: 4 kB / 0.6862 GB, free: 10.26 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004352/0.1548, allocations: 188.3 kB / 0.6863 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.1561, allocations: 0.919 MB / 0.6872 GB, free: 9.031 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005006/0.1566, allocations: 162.6 kB / 0.6874 GB, free: 8.863 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.1568, allocations: 80.81 kB / 0.6875 GB, free: 8.781 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006661/0.1575, allocations: 0.5181 MB / 0.688 GB, free: 8.152 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.1575, allocations: 38.48 kB / 0.688 GB, free: 8.105 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.1575, allocations: 0 / 0.688 GB, free: 8.105 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007236/0.1583, allocations: 241.7 kB / 0.6882 GB, free: 7.863 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.1583, allocations: 51.41 kB / 0.6883 GB, free: 7.801 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.1585, allocations: 157.7 kB / 0.6884 GB, free: 7.641 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.1585, allocations: 29.7 kB / 0.6885 GB, free: 7.605 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.1586, allocations: 119.8 kB / 0.6886 GB, free: 7.484 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.917e-05/0.1586, allocations: 51.28 kB / 0.6886 GB, free: 7.434 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.335e-05/0.1587, allocations: 41.7 kB / 0.6887 GB, free: 7.387 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.1589, allocations: 322.8 kB / 0.689 GB, free: 7.062 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.1591, allocations: 75.95 kB / 0.6891 GB, free: 6.988 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/0.1593, allocations: 93.61 kB / 0.6891 GB, free: 6.891 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003688/0.1597, allocations: 152.5 kB / 0.6893 GB, free: 6.738 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1597, allocations: 3.938 kB / 0.6893 GB, free: 6.734 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004811/0.1602, allocations: 217.3 kB / 0.6895 GB, free: 6.516 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1602, allocations: 7.984 kB / 0.6895 GB, free: 6.508 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.1602, allocations: 4 kB / 0.6895 GB, free: 6.504 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.1602, allocations: 4 kB / 0.6895 GB, free: 6.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002581/0.1605, allocations: 40 kB / 0.6896 GB, free: 6.461 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.1605, allocations: 0 / 0.6896 GB, free: 6.461 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.1607, allocations: 23.83 kB / 0.6896 GB, free: 6.438 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.1607, allocations: 8 kB / 0.6896 GB, free: 6.43 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.0001096/0.1608, allocations: 130.4 kB / 0.6897 GB, free: 6.293 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.626e-05/0.1609, allocations: 15.81 kB / 0.6897 GB, free: 6.277 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005/0.1614, allocations: 201 kB / 0.6899 GB, free: 6.078 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1614, allocations: 0 / 0.6899 GB, free: 6.078 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1614, allocations: 4 kB / 0.6899 GB, free: 6.074 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1614, allocations: 0 / 0.6899 GB, free: 6.074 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001373/0.1628, allocations: 0.9894 MB / 0.6909 GB, free: 4.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.1628, allocations: 0 / 0.6909 GB, free: 4.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001995/0.163, allocations: 23.98 kB / 0.6909 GB, free: 4.906 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.163, allocations: 8.062 kB / 0.6909 GB, free: 4.898 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.1631, allocations: 3.984 kB / 0.6909 GB, free: 4.895 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.686e-06/0.1631, allocations: 4 kB / 0.6909 GB, free: 4.891 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.1631, allocations: 3.938 kB / 0.6909 GB, free: 4.887 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004686/0.1635, allocations: 289 kB / 0.6912 GB, free: 4.582 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.684e-05/0.1636, allocations: 85.02 kB / 0.6913 GB, free: 4.48 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.656e-05/0.1637, allocations: 8 kB / 0.6913 GB, free: 4.473 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.1639, allocations: 11.97 kB / 0.6913 GB, free: 4.461 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.1639, allocations: 19.92 kB / 0.6913 GB, free: 4.441 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.164, allocations: 4 kB / 0.6913 GB, free: 4.438 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.943e-05/0.164, allocations: 117.3 kB / 0.6914 GB, free: 4.324 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.164, allocations: 8 kB / 0.6914 GB, free: 4.316 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004369/0.1645, allocations: 127.8 kB / 0.6916 GB, free: 4.191 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.001086/0.1656, allocations: 0.944 MB / 0.6925 GB, free: 3.219 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004707/0.1661, allocations: 183.8 kB / 0.6927 GB, free: 3.039 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1661, allocations: 0 / 0.6927 GB, free: 3.039 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001975/0.1663, allocations: 83.89 kB / 0.6927 GB, free: 2.957 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003994/0.1667, allocations: 54.27 kB / 0.6928 GB, free: 2.906 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002791/0.1695, allocations: 2.097 MB / 0.6948 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.1698, allocations: 0.7087 MB / 0.6955 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001629/0.17, allocations: 33.11 kB / 0.6956 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.694e-05/0.1701, allocations: 47.42 kB / 0.6956 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1701, allocations: 0 / 0.6956 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3437/0.5137, allocations: 5.914 MB / 0.7014 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002826/0.5141, allocations: 244.2 kB / 0.7016 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.074/2.588, allocations: 2.375 kB / 0.7016 GB, free: 9.949 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)