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.001506/0.001506, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 191.3 kB / 16.53 MB, free: 6.391 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.395/1.395, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002448/0.002448, allocations: 291.1 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.061/1.061, allocations: 178.5 MB / 0.5073 GB, free: 4.59 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002717/0.002717, allocations: 101.9 kB / 0.6066 GB, free: 24.6 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1586, allocations: 89.15 MB / 0.6936 GB, free: 4.219 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003538/0.1622, allocations: 2.008 MB / 0.6956 GB, free: 2.207 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002506/0.1647, allocations: 1.664 MB / 0.6972 GB, free: 0.543 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.26e-05/0.1648, allocations: 4 kB / 0.6972 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.321e-05/0.1649, allocations: 15.8 kB / 0.6972 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001144/0.165, allocations: 51.55 kB / 0.6973 GB, free: 484 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.166, allocations: 365.3 kB / 0.6976 GB, free: 120 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002555/0.1663, allocations: 215.2 kB / 0.6978 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.1664, allocations: 45.67 kB / 0.6979 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.1666, allocations: 87.72 kB / 0.6979 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.1667, allocations: 83.73 kB / 0.698 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.193e-05/0.1668, allocations: 16 kB / 0.698 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000793/0.1676, allocations: 403.5 kB / 0.6984 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.815e-05/0.1676, allocations: 39.84 kB / 0.6985 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.296e-05/0.1677, allocations: 87.66 kB / 0.6985 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006199/0.1683, allocations: 423 kB / 0.6989 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1684, allocations: 7.984 kB / 0.699 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1684, allocations: 0 / 0.699 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.1684, allocations: 0 / 0.699 GB, free: 14.73 MB / 0.4981 GB 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.0008513/0.1692, allocations: 0.5147 MB / 0.6995 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.1693, allocations: 8.031 kB / 0.6995 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.047e-05/0.1694, allocations: 50.73 kB / 0.6995 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005879/0.1699, allocations: 92.64 kB / 0.6996 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.1701, allocations: 180.2 kB / 0.6998 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.43e-05/0.1702, allocations: 42.27 kB / 0.6998 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/0.1702, allocations: 20.38 kB / 0.6998 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004206/0.1707, allocations: 189.8 kB / 0.7 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1707, allocations: 3.984 kB / 0.7 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.1707, allocations: 4 kB / 0.7 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1707, allocations: 4 kB / 0.7 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004689/0.1712, allocations: 179.8 kB / 0.7002 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001536/0.1727, allocations: 0.9151 MB / 0.7011 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005282/0.1733, allocations: 174.5 kB / 0.7013 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002093/0.1735, allocations: 80.81 kB / 0.7013 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007137/0.1742, allocations: 0.5298 MB / 0.7019 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.1743, allocations: 30.56 kB / 0.7019 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.803e-06/0.1743, allocations: 0 / 0.7019 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0007392/0.175, allocations: 229.8 kB / 0.7021 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.1751, allocations: 63.34 kB / 0.7022 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.1752, allocations: 156.1 kB / 0.7023 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.1753, allocations: 29.7 kB / 0.7023 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.928e-05/0.1753, allocations: 115.8 kB / 0.7025 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.66e-05/0.1754, allocations: 47.3 kB / 0.7025 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.97e-05/0.1755, allocations: 41.61 kB / 0.7025 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1756, allocations: 322.8 kB / 0.7028 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.1759, allocations: 83.89 kB / 0.7029 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002459/0.1761, allocations: 93.67 kB / 0.703 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004018/0.1765, allocations: 148.4 kB / 0.7032 GB, free: 10 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.1765, allocations: 0 / 0.7032 GB, free: 10 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000588/0.1771, allocations: 217.4 kB / 0.7034 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.1772, allocations: 8 kB / 0.7034 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1772, allocations: 0 / 0.7034 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1772, allocations: 0 / 0.7034 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002551/0.1774, allocations: 43.91 kB / 0.7034 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.1775, allocations: 0 / 0.7034 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.1777, allocations: 27.86 kB / 0.7034 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.1777, allocations: 8 kB / 0.7034 GB, free: 9.695 MB / 0.4981 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 (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.0001217/0.1778, allocations: 125.8 kB / 0.7036 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.089e-05/0.1779, allocations: 15.81 kB / 0.7036 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000559/0.1784, allocations: 199.6 kB / 0.7038 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.1784, allocations: 4 kB / 0.7038 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1785, allocations: 0 / 0.7038 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1785, allocations: 0 / 0.7038 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001627/0.1801, allocations: 0.9778 MB / 0.7047 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1801, allocations: 0 / 0.7047 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/0.1803, allocations: 31.92 kB / 0.7048 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.1803, allocations: 4 kB / 0.7048 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.1804, allocations: 3.984 kB / 0.7048 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.1804, allocations: 4 kB / 0.7048 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.1804, allocations: 0 / 0.7048 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005532/0.1809, allocations: 289.7 kB / 0.705 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.097e-05/0.181, allocations: 96.84 kB / 0.7051 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.468e-05/0.1811, allocations: 8 kB / 0.7051 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/0.1813, allocations: 23.91 kB / 0.7052 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.1814, allocations: 11.92 kB / 0.7052 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.1814, allocations: 8 kB / 0.7052 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000105/0.1815, allocations: 128.9 kB / 0.7053 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1815, allocations: 0 / 0.7053 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000504/0.182, allocations: 123.9 kB / 0.7054 GB, free: 7.449 MB / 0.4981 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 (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.001196/0.1832, allocations: 0.9418 MB / 0.7063 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005221/0.1838, allocations: 179.8 kB / 0.7065 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.1838, allocations: 4 kB / 0.7065 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002308/0.184, allocations: 83.97 kB / 0.7066 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004472/0.1845, allocations: 45.72 kB / 0.7066 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003126/0.1876, allocations: 2.083 MB / 0.7087 GB, free: 4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.1879, allocations: 0.7086 MB / 0.7094 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001824/0.1881, allocations: 31.45 kB / 0.7094 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.1882, allocations: 43.42 kB / 0.7094 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of SimCode: time 5.61e-07/0.1882, allocations: 0 / 0.7094 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02847/0.2167, allocations: 6.028 MB / 0.7153 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.798/8.015, allocations: 4.375 kB / 0.7153 GB, free: 13.37 MB / 0.5137 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_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_ReciprocatingCompressor_ZeroInput.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1)