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/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.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/BuildingSystems 2.0.0-master/package.mo): time 0.8239/0.8239, allocations: 143.3 MB / 158.3 MB, free: 5.766 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 177 kB / 191.5 MB, free: 5.746 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.504/1.504, allocations: 223.2 MB / 447.7 MB, free: 6.562 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.0008925/0.0008925, allocations: 99.7 kB / 0.5188 GB, free: 2.91 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00191/0.00191, allocations: 276.6 kB / 0.6005 GB, free: 49 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004837/0.0004837, allocations: 20 kB / 0.693 GB, free: 2.219 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4498/0.4503, allocations: 82.77 MB / 0.7738 GB, free: 26.21 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1534/0.6037, allocations: 115.2 MB / 0.8863 GB, free: 6.84 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/0.6041, allocations: 91.94 kB / 0.8864 GB, free: 6.75 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02429/0.6284, allocations: 8.223 MB / 0.8944 GB, free: 14.51 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.025e-06/0.6285, allocations: 7.938 kB / 0.8944 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.337e-06/0.6285, allocations: 4 kB / 0.8944 GB, free: 14.5 MB / 0.5573 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.0008431/0.6293, allocations: 0.4912 MB / 0.8949 GB, free: 13.96 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.6294, allocations: 8.031 kB / 0.8949 GB, free: 13.95 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.414e-05/0.6295, allocations: 50.55 kB / 0.895 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004711/0.6299, allocations: 88.42 kB / 0.8951 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.6301, allocations: 182.8 kB / 0.8952 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.736e-05/0.6302, allocations: 49.69 kB / 0.8953 GB, free: 13.53 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.102e-05/0.6302, allocations: 20 kB / 0.8953 GB, free: 13.51 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004269/0.6306, allocations: 173.6 kB / 0.8955 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.6307, allocations: 3.938 kB / 0.8955 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.6307, allocations: 8 kB / 0.8955 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.6307, allocations: 4 kB / 0.8955 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004345/0.6311, allocations: 195.7 kB / 0.8957 GB, free: 13.13 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001661/0.6328, allocations: 0.9462 MB / 0.8966 GB, free: 12.06 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005874/0.6334, allocations: 186.5 kB / 0.8968 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007918/0.6342, allocations: 0.5142 MB / 0.8973 GB, free: 11.24 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.6343, allocations: 34.56 kB / 0.8973 GB, free: 11.2 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=14): time 1.744e-06/0.6343, allocations: 4 kB / 0.8973 GB, free: 11.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=14): time 0.000839/0.6351, allocations: 240.8 kB / 0.8975 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.6352, allocations: 59.36 kB / 0.8976 GB, free: 10.89 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.6354, allocations: 148 kB / 0.8977 GB, free: 10.74 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.979e-05/0.6354, allocations: 33.7 kB / 0.8978 GB, free: 10.7 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.409e-05/0.6355, allocations: 111.8 kB / 0.8979 GB, free: 10.59 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.634e-05/0.6355, allocations: 51.34 kB / 0.8979 GB, free: 10.54 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.071e-05/0.6356, allocations: 0 / 0.8979 GB, free: 10.54 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.6357, allocations: 326.8 kB / 0.8982 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/0.6359, allocations: 79.89 kB / 0.8983 GB, free: 10.13 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.6361, allocations: 97.67 kB / 0.8984 GB, free: 10.03 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/0.6363, allocations: 74.38 kB / 0.8985 GB, free: 9.957 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.6363, allocations: 0 / 0.8985 GB, free: 9.957 MB / 0.5573 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000484/0.6368, allocations: 225.3 kB / 0.8987 GB, free: 9.73 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.6369, allocations: 11.95 kB / 0.8987 GB, free: 9.719 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.6369, allocations: 0 / 0.8987 GB, free: 9.719 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.6369, allocations: 0 / 0.8987 GB, free: 9.719 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/0.6372, allocations: 48 kB / 0.8987 GB, free: 9.672 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.6372, allocations: 3.938 kB / 0.8987 GB, free: 9.668 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.6374, allocations: 23.83 kB / 0.8988 GB, free: 9.645 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.6374, allocations: 11.98 kB / 0.8988 GB, free: 9.633 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001192/0.6375, allocations: 130.2 kB / 0.8989 GB, free: 9.496 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.118e-05/0.6376, allocations: 15.81 kB / 0.8989 GB, free: 9.48 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005134/0.6381, allocations: 210.6 kB / 0.8991 GB, free: 9.27 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.6381, allocations: 0 / 0.8991 GB, free: 9.27 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.6381, allocations: 0 / 0.8991 GB, free: 9.27 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.6381, allocations: 0 / 0.8991 GB, free: 9.27 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001471/0.6396, allocations: 0.9895 MB / 0.9001 GB, free: 8.125 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.6396, allocations: 0 / 0.9001 GB, free: 8.125 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/0.6398, allocations: 31.97 kB / 0.9001 GB, free: 8.094 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.6399, allocations: 4 kB / 0.9001 GB, free: 8.09 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.6399, allocations: 0 / 0.9001 GB, free: 8.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.6399, allocations: 3.938 kB / 0.9001 GB, free: 8.086 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.6399, allocations: 4 kB / 0.9001 GB, free: 8.082 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005119/0.6404, allocations: 332 kB / 0.9004 GB, free: 7.727 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.335e-05/0.6405, allocations: 100.8 kB / 0.9005 GB, free: 7.609 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.522e-05/0.6405, allocations: 4 kB / 0.9005 GB, free: 7.605 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/0.6408, allocations: 19.97 kB / 0.9006 GB, free: 7.586 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.6408, allocations: 11.98 kB / 0.9006 GB, free: 7.574 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.6408, allocations: 4 kB / 0.9006 GB, free: 7.57 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 9.165e-05/0.6409, allocations: 117.3 kB / 0.9007 GB, free: 7.457 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6409, allocations: 0 / 0.9007 GB, free: 7.457 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005563/0.6415, allocations: 139.8 kB / 0.9008 GB, free: 7.32 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) * 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 (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.001243/0.6427, allocations: 1.125 MB / 0.9019 GB, free: 6.156 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004698/0.6432, allocations: 178.1 kB / 0.9021 GB, free: 5.984 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.6432, allocations: 4.062 kB / 0.9021 GB, free: 5.98 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.6434, allocations: 87.89 kB / 0.9022 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.6438, allocations: 47.98 kB / 0.9022 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/0.6456, allocations: 1.198 MB / 0.9034 GB, free: 4.582 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.646, allocations: 0.7128 MB / 0.9041 GB, free: 3.844 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001626/0.6461, allocations: 33.69 kB / 0.9041 GB, free: 3.816 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.6463, allocations: 44.55 kB / 0.9042 GB, free: 3.777 MB / 0.5573 GB Notification: Performance of SimCode: time 2.5e-07/0.6463, allocations: 0 / 0.9042 GB, free: 3.777 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3445/0.9908, allocations: 5.421 MB / 0.9095 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001561/0.991, allocations: 225.8 kB / 0.9097 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.951/2.942, allocations: 0 / 0.9097 GB, free: 125.9 MB / 0.5573 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/linux/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)