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.001331/0.001331, 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.001515/0.001515, allocations: 195.3 kB / 16.14 MB, free: 6.715 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.262/1.262, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002017/0.002017, allocations: 280 kB / 290.2 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9005/0.9005, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 98.48 kB / 0.5946 GB, free: 28.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1245, allocations: 86.98 MB / 0.6795 GB, free: 1.098 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002682/0.1272, allocations: 2.054 MB / 0.6816 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002132/0.1294, allocations: 1.745 MB / 0.6833 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.098e-05/0.1294, allocations: 0 / 0.6833 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.338e-05/0.1295, allocations: 19.86 kB / 0.6833 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.02e-05/0.1296, allocations: 43.61 kB / 0.6833 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006639/0.1302, allocations: 283.2 kB / 0.6836 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.1304, allocations: 219.1 kB / 0.6838 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.1306, allocations: 56.44 kB / 0.6839 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.175e-05/0.1306, allocations: 75.77 kB / 0.6839 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.1308, allocations: 83.67 kB / 0.684 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.1308, allocations: 12 kB / 0.684 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006497/0.1314, allocations: 391.4 kB / 0.6844 GB, free: 12.13 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.644e-05/0.1315, allocations: 39.89 kB / 0.6844 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.547e-05/0.1316, allocations: 79.66 kB / 0.6845 GB, free: 12.01 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004859/0.1321, allocations: 423 kB / 0.6849 GB, free: 11.6 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.1321, allocations: 0 / 0.6849 GB, free: 11.6 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1321, allocations: 3.984 kB / 0.6849 GB, free: 11.59 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.1321, allocations: 0 / 0.6849 GB, free: 11.59 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.0007132/0.1328, allocations: 0.5147 MB / 0.6854 GB, free: 11.02 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.1329, allocations: 12.03 kB / 0.6854 GB, free: 11.01 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.74e-05/0.1329, allocations: 46.73 kB / 0.6855 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005276/0.1334, allocations: 88.73 kB / 0.6856 GB, free: 10.87 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.1335, allocations: 188.1 kB / 0.6857 GB, free: 10.65 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.413e-05/0.1336, allocations: 42.27 kB / 0.6858 GB, free: 10.6 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.1337, allocations: 16.38 kB / 0.6858 GB, free: 10.59 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003745/0.134, allocations: 183.1 kB / 0.686 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.134, allocations: 0 / 0.686 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.1341, allocations: 12 kB / 0.686 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.1341, allocations: 4 kB / 0.686 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004191/0.1345, allocations: 184.3 kB / 0.6862 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.1357, allocations: 0.9112 MB / 0.687 GB, free: 9.172 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004636/0.1362, allocations: 170.5 kB / 0.6872 GB, free: 8.996 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.1364, allocations: 84.81 kB / 0.6873 GB, free: 8.91 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006017/0.137, allocations: 0.5181 MB / 0.6878 GB, free: 8.281 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.137, allocations: 30.56 kB / 0.6878 GB, free: 8.242 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 4.298e-06/0.137, allocations: 4 kB / 0.6878 GB, free: 8.238 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006443/0.1377, allocations: 245.6 kB / 0.6881 GB, free: 7.992 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.1377, allocations: 51.41 kB / 0.6881 GB, free: 7.93 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.1378, allocations: 156.7 kB / 0.6883 GB, free: 7.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.1378, allocations: 29.7 kB / 0.6883 GB, free: 7.734 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.74e-05/0.1379, allocations: 123.8 kB / 0.6884 GB, free: 7.609 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.624e-05/0.1379, allocations: 47.3 kB / 0.6884 GB, free: 7.562 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.8e-05/0.138, allocations: 41.64 kB / 0.6885 GB, free: 7.516 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.258e-05/0.1381, allocations: 322.8 kB / 0.6888 GB, free: 7.191 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/0.1383, allocations: 75.95 kB / 0.6889 GB, free: 7.117 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.1385, allocations: 93.67 kB / 0.689 GB, free: 7.02 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003443/0.1389, allocations: 147.2 kB / 0.6891 GB, free: 6.871 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1389, allocations: 0 / 0.6891 GB, free: 6.871 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000463/0.1393, allocations: 223 kB / 0.6893 GB, free: 6.648 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.1394, allocations: 8 kB / 0.6893 GB, free: 6.641 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.1394, allocations: 32 / 0.6893 GB, free: 6.641 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.1394, allocations: 4 kB / 0.6893 GB, free: 6.637 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/0.1396, allocations: 39.91 kB / 0.6894 GB, free: 6.598 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1396, allocations: 4 kB / 0.6894 GB, free: 6.594 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/0.1398, allocations: 23.83 kB / 0.6894 GB, free: 6.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.1398, allocations: 4 kB / 0.6894 GB, free: 6.566 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.0001016/0.1399, allocations: 127.1 kB / 0.6895 GB, free: 6.434 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.712e-05/0.14, allocations: 15.81 kB / 0.6895 GB, free: 6.418 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004885/0.1405, allocations: 200.6 kB / 0.6897 GB, free: 6.219 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.1405, allocations: 8 kB / 0.6897 GB, free: 6.211 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1405, allocations: 0 / 0.6897 GB, free: 6.211 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.1405, allocations: 3.984 kB / 0.6897 GB, free: 6.207 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/0.1419, allocations: 0.9855 MB / 0.6907 GB, free: 5.066 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1419, allocations: 0 / 0.6907 GB, free: 5.066 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001957/0.1421, allocations: 32.05 kB / 0.6907 GB, free: 5.035 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.1421, allocations: 0 / 0.6907 GB, free: 5.035 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.1421, allocations: 7.922 kB / 0.6907 GB, free: 5.027 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.1421, allocations: 4 kB / 0.6907 GB, free: 5.023 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1421, allocations: 0 / 0.6907 GB, free: 5.023 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004454/0.1426, allocations: 292.3 kB / 0.691 GB, free: 4.719 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.932e-05/0.1426, allocations: 85.02 kB / 0.6911 GB, free: 4.617 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.398e-05/0.1427, allocations: 8 kB / 0.6911 GB, free: 4.609 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.1429, allocations: 15.97 kB / 0.6911 GB, free: 4.594 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.1429, allocations: 15.92 kB / 0.6911 GB, free: 4.578 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.143, allocations: 4 kB / 0.6911 GB, free: 4.574 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.275e-05/0.143, allocations: 129 kB / 0.6913 GB, free: 4.449 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.143, allocations: 0 / 0.6913 GB, free: 4.449 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003969/0.1434, allocations: 127.8 kB / 0.6914 GB, free: 4.324 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.0009481/0.1444, allocations: 0.9442 MB / 0.6923 GB, free: 3.348 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004381/0.1449, allocations: 171.9 kB / 0.6925 GB, free: 3.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1449, allocations: 0 / 0.6925 GB, free: 3.18 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001912/0.1451, allocations: 83.89 kB / 0.6925 GB, free: 3.098 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.1455, allocations: 52.05 kB / 0.6926 GB, free: 3.047 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/0.1479, allocations: 2.103 MB / 0.6947 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002049/0.1482, allocations: 0.7205 MB / 0.6954 GB, free: 108 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001504/0.1483, allocations: 30.61 kB / 0.6954 GB, free: 84 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.28e-05/0.1484, allocations: 43.42 kB / 0.6954 GB, free: 40 kB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1484, allocations: 0 / 0.6954 GB, free: 40 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.125/1.273, allocations: 5.796 MB / 0.7011 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002873/1.274, allocations: 259.5 kB / 0.7013 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.708/2.981, allocations: 0 / 0.7013 GB, free: 10.2 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)