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.0008616/0.0008616, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.004873/0.004873, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.24/1.24, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001584/0.001584, allocations: 278.4 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8431/0.8431, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005913/0.0005912, allocations: 19.67 kB / 0.5988 GB, free: 28.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.139, allocations: 88.54 MB / 0.6852 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.001787/0.1408, allocations: 1.707 MB / 0.6869 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002084/0.1429, allocations: 1.718 MB / 0.6886 GB, free: 11.52 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.486e-05/0.143, allocations: 0 / 0.6886 GB, free: 11.52 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.39e-05/0.143, allocations: 11.92 kB / 0.6886 GB, free: 11.5 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.982e-05/0.1432, allocations: 45.05 kB / 0.6886 GB, free: 11.46 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007582/0.1439, allocations: 290.8 kB / 0.6889 GB, free: 11.18 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.1441, allocations: 215.1 kB / 0.6891 GB, free: 10.97 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.1442, allocations: 43.36 kB / 0.6892 GB, free: 10.93 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.4e-05/0.1443, allocations: 67.84 kB / 0.6892 GB, free: 10.86 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.1444, allocations: 76.19 kB / 0.6893 GB, free: 10.79 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.602e-05/0.1445, allocations: 16.81 kB / 0.6893 GB, free: 10.77 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006328/0.1451, allocations: 392.8 kB / 0.6897 GB, free: 10.39 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.196e-05/0.1452, allocations: 31.84 kB / 0.6897 GB, free: 10.36 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.532e-05/0.1452, allocations: 106.8 kB / 0.6898 GB, free: 10.25 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004662/0.1457, allocations: 418.9 kB / 0.6902 GB, free: 9.836 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.1457, allocations: 0 / 0.6902 GB, free: 9.836 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1457, allocations: 4 kB / 0.6902 GB, free: 9.832 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.1457, allocations: 0.625 kB / 0.6902 GB, free: 9.832 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.0006243/0.1464, allocations: 495.2 kB / 0.6907 GB, free: 9.293 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.1464, allocations: 12.03 kB / 0.6907 GB, free: 9.281 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.795e-05/0.1465, allocations: 50.73 kB / 0.6907 GB, free: 9.223 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005342/0.147, allocations: 104.6 kB / 0.6908 GB, free: 9.121 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.1471, allocations: 184.2 kB / 0.691 GB, free: 8.902 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.274e-05/0.1472, allocations: 50.25 kB / 0.6911 GB, free: 8.848 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.1472, allocations: 16.38 kB / 0.6911 GB, free: 8.832 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000369/0.1476, allocations: 183.1 kB / 0.6913 GB, free: 8.648 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.1476, allocations: 3.938 kB / 0.6913 GB, free: 8.645 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.1476, allocations: 8 kB / 0.6913 GB, free: 8.637 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1476, allocations: 0 / 0.6913 GB, free: 8.637 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004274/0.1481, allocations: 200.3 kB / 0.6915 GB, free: 8.441 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.1492, allocations: 0.9151 MB / 0.6924 GB, free: 7.402 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000475/0.1497, allocations: 186.5 kB / 0.6925 GB, free: 7.211 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/0.1499, allocations: 76.83 kB / 0.6926 GB, free: 7.133 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005442/0.1504, allocations: 0.522 MB / 0.6931 GB, free: 6.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.1505, allocations: 38.56 kB / 0.6932 GB, free: 6.453 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.132e-06/0.1505, allocations: 0 / 0.6932 GB, free: 6.453 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006385/0.1511, allocations: 248.2 kB / 0.6934 GB, free: 6.207 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.1512, allocations: 59.34 kB / 0.6934 GB, free: 6.137 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.1513, allocations: 158.4 kB / 0.6936 GB, free: 5.973 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.1513, allocations: 25.7 kB / 0.6936 GB, free: 5.941 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.584e-05/0.1514, allocations: 119.8 kB / 0.6937 GB, free: 5.82 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.542e-05/0.1514, allocations: 47.3 kB / 0.6938 GB, free: 5.773 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/0.1515, allocations: 25.7 kB / 0.6938 GB, free: 5.742 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.956e-05/0.1515, allocations: 322.8 kB / 0.6941 GB, free: 5.418 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/0.1517, allocations: 79.95 kB / 0.6942 GB, free: 5.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.1519, allocations: 99.56 kB / 0.6943 GB, free: 5.238 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003517/0.1523, allocations: 155.5 kB / 0.6944 GB, free: 5.082 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.1523, allocations: 7.875 kB / 0.6944 GB, free: 5.074 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004621/0.1528, allocations: 225.4 kB / 0.6947 GB, free: 4.848 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.1528, allocations: 8 kB / 0.6947 GB, free: 4.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1528, allocations: 3.984 kB / 0.6947 GB, free: 4.836 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.1528, allocations: 0 / 0.6947 GB, free: 4.836 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/0.1531, allocations: 43.91 kB / 0.6947 GB, free: 4.793 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.1531, allocations: 0 / 0.6947 GB, free: 4.793 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.1532, allocations: 35.77 kB / 0.6947 GB, free: 4.758 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.1533, allocations: 4 kB / 0.6948 GB, free: 4.754 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 9.366e-05/0.1534, allocations: 127.1 kB / 0.6949 GB, free: 4.621 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.933e-05/0.1534, allocations: 11.91 kB / 0.6949 GB, free: 4.609 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004751/0.1539, allocations: 208.5 kB / 0.6951 GB, free: 4.402 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1539, allocations: 0 / 0.6951 GB, free: 4.402 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1539, allocations: 0 / 0.6951 GB, free: 4.402 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1539, allocations: 4 kB / 0.6951 GB, free: 4.398 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.1552, allocations: 0.9895 MB / 0.6961 GB, free: 3.254 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1552, allocations: 4.062 kB / 0.6961 GB, free: 3.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/0.1554, allocations: 35.92 kB / 0.6961 GB, free: 3.215 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1554, allocations: 0 / 0.6961 GB, free: 3.215 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.1554, allocations: 3.984 kB / 0.6961 GB, free: 3.211 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1554, allocations: 8 kB / 0.6961 GB, free: 3.203 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1554, allocations: 0 / 0.6961 GB, free: 3.203 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004505/0.1559, allocations: 297 kB / 0.6964 GB, free: 2.891 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.665e-05/0.156, allocations: 96.91 kB / 0.6965 GB, free: 2.777 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.156, allocations: 4 kB / 0.6965 GB, free: 2.773 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/0.1562, allocations: 19.98 kB / 0.6965 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/0.1562, allocations: 19.86 kB / 0.6965 GB, free: 2.734 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.1563, allocations: 4 kB / 0.6965 GB, free: 2.73 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.228e-05/0.1563, allocations: 121.5 kB / 0.6966 GB, free: 2.613 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1563, allocations: 0 / 0.6966 GB, free: 2.613 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003826/0.1567, allocations: 127.9 kB / 0.6968 GB, free: 2.488 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.0009438/0.1577, allocations: 0.9621 MB / 0.6977 GB, free: 1.496 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004312/0.1581, allocations: 185.6 kB / 0.6979 GB, free: 1.316 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1581, allocations: 4 kB / 0.6979 GB, free: 1.312 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001895/0.1583, allocations: 83.91 kB / 0.698 GB, free: 1.23 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.1587, allocations: 48.78 kB / 0.698 GB, free: 1.184 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002434/0.1611, allocations: 2.144 MB / 0.7001 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.1614, allocations: 0.7167 MB / 0.7008 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001386/0.1615, allocations: 25.2 kB / 0.7008 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.903e-05/0.1616, allocations: 47.42 kB / 0.7009 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1616, allocations: 0 / 0.7009 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4623/0.6239, allocations: 5.718 MB / 0.7065 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003443/0.6243, allocations: 260.2 kB / 0.7067 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.917/2.541, allocations: 0 / 0.7067 GB, free: 8.41 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)