Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001391/0.001391, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001675/0.001675, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.015/1.015, allocations: 143.3 MB / 434.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002961/0.0002962, allocations: 8 kB / 0.5159 GB, free: 11.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.171, allocations: 83.42 MB / 0.5974 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.001927/0.173, allocations: 1.599 MB / 0.5989 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001966/0.1749, allocations: 1.474 MB / 0.6004 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.991e-05/0.175, allocations: 8 kB / 0.6004 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.673e-05/0.1751, allocations: 11.91 kB / 0.6004 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.101e-05/0.1752, allocations: 51.88 kB / 0.6004 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007087/0.1759, allocations: 267.2 kB / 0.6007 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.1761, allocations: 151.7 kB / 0.6008 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.1762, allocations: 33.66 kB / 0.6009 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.983e-05/0.1763, allocations: 71.83 kB / 0.6009 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.1764, allocations: 71.75 kB / 0.601 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.521e-05/0.1764, allocations: 15.98 kB / 0.601 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006694/0.1771, allocations: 387.5 kB / 0.6014 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.267e-05/0.1772, allocations: 31.89 kB / 0.6014 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.954e-05/0.1772, allocations: 53.64 kB / 0.6015 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003897/0.1776, allocations: 319.5 kB / 0.6018 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.1776, allocations: 0 / 0.6018 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1776, allocations: 0 / 0.6018 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.1776, allocations: 0 / 0.6018 GB, free: 3.141 MB / 0.4981 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.0007115/0.1783, allocations: 498.9 kB / 0.6022 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.1784, allocations: 12.03 kB / 0.6023 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.41e-05/0.1785, allocations: 54.48 kB / 0.6023 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005607/0.179, allocations: 99.75 kB / 0.6024 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.1792, allocations: 182.8 kB / 0.6026 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.245e-05/0.1793, allocations: 49.69 kB / 0.6026 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.1793, allocations: 12 kB / 0.6026 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004048/0.1797, allocations: 194.6 kB / 0.6028 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.1797, allocations: 7.984 kB / 0.6028 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.1798, allocations: 4 kB / 0.6028 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.1798, allocations: 4 kB / 0.6028 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004276/0.1802, allocations: 188.4 kB / 0.603 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.1815, allocations: 0.9073 MB / 0.6039 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004846/0.182, allocations: 178.6 kB / 0.6041 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2769/0.4589, allocations: 0.5187 MB / 0.6046 GB, free: 40.6 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.459, allocations: 35.8 kB / 0.6046 GB, free: 40.56 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 2.846e-06/0.459, allocations: 3.75 kB / 0.6046 GB, free: 40.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0007928/0.4598, allocations: 244.6 kB / 0.6049 GB, free: 40.53 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.4598, allocations: 52.44 kB / 0.6049 GB, free: 40.47 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.46, allocations: 163.5 kB / 0.6051 GB, free: 40.37 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.46, allocations: 30.08 kB / 0.6051 GB, free: 40.34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.036e-05/0.46, allocations: 117.8 kB / 0.6052 GB, free: 40.26 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.4601, allocations: 48.03 kB / 0.6052 GB, free: 40.24 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.162e-05/0.4601, allocations: 6.156 kB / 0.6053 GB, free: 40.24 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.216e-05/0.4601, allocations: 323.6 kB / 0.6056 GB, free: 39.93 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.4603, allocations: 77.72 kB / 0.6056 GB, free: 39.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.4605, allocations: 99.36 kB / 0.6057 GB, free: 39.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.4607, allocations: 76.47 kB / 0.6058 GB, free: 39.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.4607, allocations: 2.734 kB / 0.6058 GB, free: 39.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004493/0.4612, allocations: 219.2 kB / 0.606 GB, free: 39.88 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.4612, allocations: 6.281 kB / 0.606 GB, free: 39.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.4612, allocations: 0 / 0.606 GB, free: 39.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.4612, allocations: 7.797 kB / 0.606 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.4615, allocations: 42.3 kB / 0.6061 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.4615, allocations: 0 / 0.6061 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.4617, allocations: 33.52 kB / 0.6061 GB, free: 39.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.4617, allocations: 10.2 kB / 0.6061 GB, free: 39.86 MB / 0.4981 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 8.89e-05/0.4618, allocations: 124.2 kB / 0.6062 GB, free: 39.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.885e-05/0.4618, allocations: 12.88 kB / 0.6062 GB, free: 39.74 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004961/0.4624, allocations: 204.4 kB / 0.6064 GB, free: 39.71 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.4624, allocations: 2.562 kB / 0.6064 GB, free: 39.71 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.4624, allocations: 3.953 kB / 0.6064 GB, free: 39.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.4624, allocations: 0 / 0.6064 GB, free: 39.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/0.4636, allocations: 0.9896 MB / 0.6074 GB, free: 38.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.4636, allocations: 3.656 kB / 0.6074 GB, free: 38.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001909/0.4638, allocations: 30.39 kB / 0.6074 GB, free: 38.92 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.4638, allocations: 12.5 kB / 0.6075 GB, free: 38.92 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.4638, allocations: 6.781 kB / 0.6075 GB, free: 38.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.4638, allocations: 2.781 kB / 0.6075 GB, free: 38.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.4638, allocations: 0 / 0.6075 GB, free: 38.92 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004244/0.4643, allocations: 326.6 kB / 0.6078 GB, free: 38.73 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.522e-05/0.4643, allocations: 95.02 kB / 0.6079 GB, free: 38.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.4644, allocations: 7.109 kB / 0.6079 GB, free: 38.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.4646, allocations: 12.14 kB / 0.6079 GB, free: 38.63 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/0.4646, allocations: 14 kB / 0.6079 GB, free: 38.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.4646, allocations: 13.97 kB / 0.6079 GB, free: 38.63 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.908e-05/0.4647, allocations: 116.6 kB / 0.608 GB, free: 38.55 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4647, allocations: 0 / 0.608 GB, free: 38.55 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004357/0.4652, allocations: 132.3 kB / 0.6081 GB, free: 38.54 MB / 0.4981 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.0008899/0.4661, allocations: 1.113 MB / 0.6092 GB, free: 37.69 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004409/0.4665, allocations: 180.1 kB / 0.6094 GB, free: 37.69 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4665, allocations: 0 / 0.6094 GB, free: 37.69 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001877/0.4667, allocations: 91.22 kB / 0.6095 GB, free: 37.69 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.467, allocations: 42.88 kB / 0.6095 GB, free: 37.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.4687, allocations: 1.188 MB / 0.6107 GB, free: 37.06 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.4689, allocations: 0.716 MB / 0.6114 GB, free: 36.36 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001623/0.469, allocations: 24.42 kB / 0.6114 GB, free: 36.36 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.364e-05/0.4691, allocations: 46.03 kB / 0.6115 GB, free: 36.35 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.4691, allocations: 0 / 0.6115 GB, free: 36.35 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01548/0.4846, allocations: 5.701 MB / 0.617 GB, free: 35.97 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001454/0.4848, allocations: 210.2 kB / 0.6172 GB, free: 35.74 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.845/2.33, allocations: 0 / 0.6172 GB, free: 35.74 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) Environment - environmentSimulation: