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.001075/0.001075, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001104/0.001104, allocations: 195.3 kB / 16.14 MB, free: 6.707 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.168/1.168, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001821/0.001821, allocations: 278.1 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8443/0.8443, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003004/0.003004, allocations: 89.64 kB / 0.5946 GB, free: 28.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.124, allocations: 86.98 MB / 0.6795 GB, free: 1.07 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002524/0.1266, allocations: 2.062 MB / 0.6816 GB, free: 15 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001992/0.1286, allocations: 1.746 MB / 0.6833 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.803e-05/0.1286, allocations: 0 / 0.6833 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.828e-05/0.1287, allocations: 11.92 kB / 0.6833 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.264e-05/0.1288, allocations: 51.55 kB / 0.6833 GB, free: 13.19 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006287/0.1294, allocations: 283.2 kB / 0.6836 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.1296, allocations: 211.1 kB / 0.6838 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.1297, allocations: 53.67 kB / 0.6838 GB, free: 12.65 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.467e-05/0.1298, allocations: 75.78 kB / 0.6839 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.1299, allocations: 83.72 kB / 0.684 GB, free: 12.49 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.524e-05/0.1299, allocations: 12 kB / 0.684 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005962/0.1305, allocations: 391.5 kB / 0.6844 GB, free: 12.1 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.271e-05/0.1306, allocations: 43.77 kB / 0.6844 GB, free: 12.05 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.854e-05/0.1307, allocations: 83.66 kB / 0.6845 GB, free: 11.97 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004544/0.1311, allocations: 419 kB / 0.6849 GB, free: 11.56 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1311, allocations: 0 / 0.6849 GB, free: 11.56 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.31e-07/0.1311, allocations: 0 / 0.6849 GB, free: 11.56 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1312, allocations: 0 / 0.6849 GB, free: 11.56 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.000662/0.1318, allocations: 0.5201 MB / 0.6854 GB, free: 10.99 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/0.1319, allocations: 8.031 kB / 0.6854 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.545e-05/0.1319, allocations: 54.73 kB / 0.6855 GB, free: 10.92 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000494/0.1324, allocations: 84.73 kB / 0.6855 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.1325, allocations: 176.2 kB / 0.6857 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.253e-05/0.1326, allocations: 54.23 kB / 0.6858 GB, free: 10.57 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.1326, allocations: 16.38 kB / 0.6858 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003569/0.133, allocations: 183 kB / 0.686 GB, free: 10.37 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.133, allocations: 0 / 0.686 GB, free: 10.37 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.133, allocations: 4 kB / 0.686 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.133, allocations: 4 kB / 0.686 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003928/0.1334, allocations: 187.8 kB / 0.6861 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.1346, allocations: 0.919 MB / 0.687 GB, free: 9.133 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004317/0.135, allocations: 170.5 kB / 0.6872 GB, free: 8.957 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.1352, allocations: 72.83 kB / 0.6873 GB, free: 8.883 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005667/0.1358, allocations: 0.522 MB / 0.6878 GB, free: 8.25 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.1358, allocations: 34.56 kB / 0.6878 GB, free: 8.207 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.163e-06/0.1358, allocations: 0 / 0.6878 GB, free: 8.207 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006033/0.1364, allocations: 248.5 kB / 0.6881 GB, free: 7.961 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.191e-05/0.1364, allocations: 51.41 kB / 0.6881 GB, free: 7.898 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.1365, allocations: 160.7 kB / 0.6883 GB, free: 7.734 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.1366, allocations: 29.7 kB / 0.6883 GB, free: 7.699 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.945e-05/0.1366, allocations: 119.7 kB / 0.6884 GB, free: 7.578 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.453e-05/0.1367, allocations: 55.22 kB / 0.6885 GB, free: 7.523 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.225e-05/0.1367, allocations: 37.7 kB / 0.6885 GB, free: 7.48 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.867e-05/0.1368, allocations: 326.8 kB / 0.6888 GB, free: 7.152 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.137, allocations: 71.95 kB / 0.6889 GB, free: 7.082 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/0.1372, allocations: 93.67 kB / 0.689 GB, free: 6.984 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003334/0.1376, allocations: 155.1 kB / 0.6891 GB, free: 6.828 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1376, allocations: 3.938 kB / 0.6891 GB, free: 6.824 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004368/0.138, allocations: 211.3 kB / 0.6893 GB, free: 6.613 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.138, allocations: 8 kB / 0.6893 GB, free: 6.605 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.138, allocations: 4 kB / 0.6893 GB, free: 6.602 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.855e-06/0.1381, allocations: 0 / 0.6893 GB, free: 6.602 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.1383, allocations: 43.94 kB / 0.6894 GB, free: 6.559 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.1383, allocations: 0 / 0.6894 GB, free: 6.559 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.1385, allocations: 27.83 kB / 0.6894 GB, free: 6.531 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.1385, allocations: 7.984 kB / 0.6894 GB, free: 6.523 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.276e-05/0.1386, allocations: 123.1 kB / 0.6895 GB, free: 6.395 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.332e-05/0.1386, allocations: 19.75 kB / 0.6895 GB, free: 6.375 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004464/0.1391, allocations: 190.4 kB / 0.6897 GB, free: 6.184 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1391, allocations: 7.984 kB / 0.6897 GB, free: 6.176 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.1391, allocations: 0 / 0.6897 GB, free: 6.176 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.1391, allocations: 0 / 0.6897 GB, free: 6.176 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.1403, allocations: 0.9855 MB / 0.6907 GB, free: 5.035 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.1404, allocations: 0 / 0.6907 GB, free: 5.035 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001841/0.1405, allocations: 31.91 kB / 0.6907 GB, free: 5.004 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1406, allocations: 8.062 kB / 0.6907 GB, free: 4.996 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.1406, allocations: 4 kB / 0.6907 GB, free: 4.992 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.1406, allocations: 4 kB / 0.6907 GB, free: 4.988 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1406, allocations: 0 / 0.6907 GB, free: 4.988 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000429/0.141, allocations: 296.2 kB / 0.691 GB, free: 4.68 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.497e-05/0.1411, allocations: 89 kB / 0.6911 GB, free: 4.574 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.037e-05/0.1411, allocations: 4 kB / 0.6911 GB, free: 4.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.1413, allocations: 15.98 kB / 0.6911 GB, free: 4.555 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.338e-05/0.1414, allocations: 11.92 kB / 0.6911 GB, free: 4.543 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.1414, allocations: 4 kB / 0.6911 GB, free: 4.539 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.992e-05/0.1414, allocations: 125.3 kB / 0.6913 GB, free: 4.418 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1414, allocations: 0 / 0.6913 GB, free: 4.418 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003576/0.1418, allocations: 131.8 kB / 0.6914 GB, free: 4.289 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.0009114/0.1427, allocations: 0.9403 MB / 0.6923 GB, free: 3.316 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004034/0.1431, allocations: 179.8 kB / 0.6925 GB, free: 3.141 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1432, allocations: 0 / 0.6925 GB, free: 3.141 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001803/0.1433, allocations: 83.95 kB / 0.6925 GB, free: 3.059 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.1437, allocations: 48.3 kB / 0.6926 GB, free: 3.012 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/0.146, allocations: 2.099 MB / 0.6946 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.1462, allocations: 0.7088 MB / 0.6953 GB, free: 88 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000135/0.1464, allocations: 29.3 kB / 0.6954 GB, free: 64 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.519e-05/0.1465, allocations: 43.42 kB / 0.6954 GB, free: 20 kB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1465, allocations: 3.938 kB / 0.6954 GB, free: 16 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.467/1.613, allocations: 5.773 MB / 0.701 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002312/1.614, allocations: 245.8 kB / 0.7013 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.699/3.313, allocations: 0 / 0.7013 GB, free: 10.18 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)