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.00127/0.00127, allocations: 108 kB / 15.61 MB, free: 152 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.001337/0.001337, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.265/1.265, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002145/0.002145, allocations: 283.1 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9433/0.9433, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 97.66 kB / 0.5954 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1293, allocations: 86.97 MB / 0.6803 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003085/0.1324, allocations: 1.996 MB / 0.6822 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002268/0.1347, allocations: 1.667 MB / 0.6839 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.029e-05/0.1348, allocations: 0 / 0.6839 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.608e-05/0.1349, allocations: 23.8 kB / 0.6839 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.135, allocations: 47.55 kB / 0.6839 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000987/0.136, allocations: 361.3 kB / 0.6843 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002188/0.1362, allocations: 219.2 kB / 0.6845 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.1364, allocations: 57.67 kB / 0.6845 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.1365, allocations: 79.78 kB / 0.6846 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.1366, allocations: 91.66 kB / 0.6847 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.367e-05/0.1367, allocations: 20 kB / 0.6847 GB, free: 12.05 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007491/0.1374, allocations: 395.5 kB / 0.6851 GB, free: 11.66 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.286e-05/0.1375, allocations: 47.84 kB / 0.6851 GB, free: 11.61 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.459e-05/0.1376, allocations: 87.64 kB / 0.6852 GB, free: 11.53 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005766/0.1382, allocations: 415 kB / 0.6856 GB, free: 11.12 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1382, allocations: 0 / 0.6856 GB, free: 11.12 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.1382, allocations: 3.984 kB / 0.6856 GB, free: 11.12 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.106e-06/0.1382, allocations: 0 / 0.6856 GB, free: 11.12 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.0007648/0.139, allocations: 0.5147 MB / 0.6861 GB, free: 10.55 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.139, allocations: 15.97 kB / 0.6861 GB, free: 10.53 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.005e-05/0.1391, allocations: 54.67 kB / 0.6862 GB, free: 10.47 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005991/0.1397, allocations: 88.73 kB / 0.6863 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.1398, allocations: 184.1 kB / 0.6865 GB, free: 10.16 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.287e-05/0.1399, allocations: 46.27 kB / 0.6865 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.555e-05/0.1399, allocations: 12.38 kB / 0.6865 GB, free: 10.1 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004051/0.1403, allocations: 183.1 kB / 0.6867 GB, free: 9.918 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.1403, allocations: 3.938 kB / 0.6867 GB, free: 9.914 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/0.1404, allocations: 12 kB / 0.6867 GB, free: 9.902 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.1404, allocations: 12 kB / 0.6867 GB, free: 9.891 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000462/0.1409, allocations: 176.3 kB / 0.6869 GB, free: 9.719 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.1422, allocations: 0.9151 MB / 0.6878 GB, free: 8.68 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005115/0.1427, allocations: 170.5 kB / 0.6879 GB, free: 8.504 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000201/0.1429, allocations: 84.81 kB / 0.688 GB, free: 8.418 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006117/0.1435, allocations: 0.5142 MB / 0.6885 GB, free: 7.793 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.1435, allocations: 34.56 kB / 0.6886 GB, free: 7.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.1436, allocations: 4 kB / 0.6886 GB, free: 7.746 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.000714/0.1443, allocations: 233.4 kB / 0.6888 GB, free: 7.512 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.1443, allocations: 55.34 kB / 0.6888 GB, free: 7.445 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.1444, allocations: 160.7 kB / 0.689 GB, free: 7.281 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.1445, allocations: 29.7 kB / 0.689 GB, free: 7.246 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.216e-05/0.1445, allocations: 115.8 kB / 0.6891 GB, free: 7.129 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/0.1446, allocations: 51.28 kB / 0.6892 GB, free: 7.078 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.058e-05/0.1447, allocations: 45.7 kB / 0.6892 GB, free: 7.027 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.812e-05/0.1448, allocations: 318.8 kB / 0.6895 GB, free: 6.707 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.145, allocations: 71.95 kB / 0.6896 GB, free: 6.637 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.1452, allocations: 95.56 kB / 0.6897 GB, free: 6.539 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003895/0.1456, allocations: 159.7 kB / 0.6898 GB, free: 6.379 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1456, allocations: 0 / 0.6898 GB, free: 6.379 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005141/0.1461, allocations: 221.3 kB / 0.69 GB, free: 6.156 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.1462, allocations: 4 kB / 0.69 GB, free: 6.152 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1462, allocations: 0 / 0.69 GB, free: 6.152 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.1462, allocations: 0 / 0.69 GB, free: 6.152 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.1464, allocations: 43.94 kB / 0.6901 GB, free: 6.109 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.1465, allocations: 4 kB / 0.6901 GB, free: 6.105 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001883/0.1466, allocations: 23.83 kB / 0.6901 GB, free: 6.082 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.1467, allocations: 4 kB / 0.6901 GB, free: 6.078 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.0001/0.1468, allocations: 131 kB / 0.6902 GB, free: 5.941 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.851e-05/0.1468, allocations: 11.81 kB / 0.6903 GB, free: 5.93 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005264/0.1474, allocations: 201.2 kB / 0.6904 GB, free: 5.73 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.1474, allocations: 4 kB / 0.6905 GB, free: 5.727 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1474, allocations: 0 / 0.6905 GB, free: 5.727 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.1474, allocations: 3.984 kB / 0.6905 GB, free: 5.723 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001406/0.1488, allocations: 0.9855 MB / 0.6914 GB, free: 4.582 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1488, allocations: 0 / 0.6914 GB, free: 4.582 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002128/0.149, allocations: 31.92 kB / 0.6915 GB, free: 4.551 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1491, allocations: 4.062 kB / 0.6915 GB, free: 4.547 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.1491, allocations: 11.98 kB / 0.6915 GB, free: 4.535 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.1491, allocations: 0 / 0.6915 GB, free: 4.535 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1491, allocations: 0 / 0.6915 GB, free: 4.535 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005013/0.1496, allocations: 289 kB / 0.6917 GB, free: 4.23 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.282e-05/0.1497, allocations: 85.02 kB / 0.6918 GB, free: 4.129 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/0.1497, allocations: 8 kB / 0.6918 GB, free: 4.121 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.1499, allocations: 19.97 kB / 0.6918 GB, free: 4.102 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.15, allocations: 15.86 kB / 0.6919 GB, free: 4.086 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.15, allocations: 4 kB / 0.6919 GB, free: 4.082 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.088e-05/0.1501, allocations: 124.9 kB / 0.692 GB, free: 3.961 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1501, allocations: 4 kB / 0.692 GB, free: 3.957 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004277/0.1505, allocations: 127.8 kB / 0.6921 GB, free: 3.832 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.001036/0.1516, allocations: 0.9403 MB / 0.693 GB, free: 2.859 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005089/0.1521, allocations: 181.9 kB / 0.6932 GB, free: 2.684 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1521, allocations: 0 / 0.6932 GB, free: 2.684 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002124/0.1523, allocations: 83.89 kB / 0.6933 GB, free: 2.602 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/0.1527, allocations: 48.08 kB / 0.6933 GB, free: 2.555 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002643/0.1554, allocations: 2.059 MB / 0.6953 GB, free: 404 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.1556, allocations: 0.7086 MB / 0.696 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001585/0.1558, allocations: 32.55 kB / 0.6961 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.1559, allocations: 43.42 kB / 0.6961 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.1559, allocations: 0 / 0.6961 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.418/0.5739, allocations: 6.001 MB / 0.702 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.416/7.99, allocations: 12.3 kB / 0.702 GB, free: 9.762 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)