Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/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_ZeroInput,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001362/0.001362, allocations: 103.3 kB / 15.06 MB, free: 1.098 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.00176/0.00176, allocations: 173.3 kB / 15.95 MB, free: 212 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.407/1.407, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1/1, allocations: 143.3 MB / 434.3 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003482/0.0003483, allocations: 8 kB / 0.5159 GB, free: 11.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1718, allocations: 83.41 MB / 0.5974 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002168/0.174, allocations: 1.599 MB / 0.5989 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002127/0.1762, allocations: 1.486 MB / 0.6004 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-05/0.1763, allocations: 3.938 kB / 0.6004 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.468e-05/0.1763, allocations: 15.86 kB / 0.6004 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.1765, allocations: 51.88 kB / 0.6004 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008642/0.1773, allocations: 267.3 kB / 0.6007 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.1775, allocations: 143.7 kB / 0.6008 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.1777, allocations: 37.66 kB / 0.6009 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.28e-05/0.1778, allocations: 67.84 kB / 0.6009 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.1779, allocations: 83.66 kB / 0.601 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.1779, allocations: 8 kB / 0.601 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007567/0.1787, allocations: 383.5 kB / 0.6014 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.815e-05/0.1788, allocations: 27.91 kB / 0.6014 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.274e-05/0.1788, allocations: 61.64 kB / 0.6015 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004462/0.1793, allocations: 319.4 kB / 0.6018 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.1793, allocations: 0 / 0.6018 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1793, allocations: 0 / 0.6018 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.1793, allocations: 0 / 0.6018 GB, free: 3.23 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.000808/0.1801, allocations: 491.1 kB / 0.6022 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.1802, allocations: 12.03 kB / 0.6023 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.431e-05/0.1802, allocations: 54.55 kB / 0.6023 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005903/0.1808, allocations: 99.67 kB / 0.6024 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.181, allocations: 182.8 kB / 0.6026 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.876e-05/0.1811, allocations: 49.69 kB / 0.6026 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.914e-05/0.1811, allocations: 16 kB / 0.6026 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004315/0.1816, allocations: 183.2 kB / 0.6028 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1816, allocations: 3.938 kB / 0.6028 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.98e-05/0.1816, allocations: 12 kB / 0.6028 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.1816, allocations: 7.938 kB / 0.6028 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004638/0.1821, allocations: 183.8 kB / 0.603 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.1835, allocations: 0.9151 MB / 0.6039 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000542/0.1841, allocations: 182.5 kB / 0.6041 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3074/0.4915, allocations: 0.5191 MB / 0.6046 GB, free: 40.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.45e-05/0.4916, allocations: 35.14 kB / 0.6046 GB, free: 40.69 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 2.465e-06/0.4916, allocations: 0 / 0.6046 GB, free: 40.69 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0008866/0.4925, allocations: 241.7 kB / 0.6049 GB, free: 40.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.4925, allocations: 53.41 kB / 0.6049 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.4927, allocations: 166.8 kB / 0.6051 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.4927, allocations: 31.33 kB / 0.6051 GB, free: 40.46 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.163e-05/0.4928, allocations: 117 kB / 0.6052 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.871e-05/0.4928, allocations: 50.62 kB / 0.6053 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.239e-05/0.4929, allocations: 3.656 kB / 0.6053 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.277e-05/0.4929, allocations: 327.7 kB / 0.6056 GB, free: 40.05 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.4931, allocations: 77.55 kB / 0.6056 GB, free: 40.05 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.4933, allocations: 101.4 kB / 0.6057 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.4935, allocations: 73.34 kB / 0.6058 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.4935, allocations: 0 / 0.6058 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004553/0.494, allocations: 221.2 kB / 0.606 GB, free: 40 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.494, allocations: 6.156 kB / 0.606 GB, free: 40 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.494, allocations: 0 / 0.606 GB, free: 40 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.494, allocations: 10.14 kB / 0.606 GB, free: 40 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002535/0.4943, allocations: 35.39 kB / 0.6061 GB, free: 40 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.4943, allocations: 3.031 kB / 0.6061 GB, free: 40 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.4945, allocations: 34.39 kB / 0.6061 GB, free: 39.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/0.4945, allocations: 7.781 kB / 0.6061 GB, free: 39.98 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 9.634e-05/0.4946, allocations: 125.1 kB / 0.6062 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.052e-05/0.4947, allocations: 13.09 kB / 0.6062 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005015/0.4952, allocations: 209.2 kB / 0.6064 GB, free: 39.83 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.4952, allocations: 0 / 0.6064 GB, free: 39.83 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.4952, allocations: 3.953 kB / 0.6064 GB, free: 39.83 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.4952, allocations: 3.328 kB / 0.6064 GB, free: 39.83 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001272/0.4965, allocations: 0.9929 MB / 0.6074 GB, free: 39.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4965, allocations: 0 / 0.6074 GB, free: 39.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001902/0.4967, allocations: 33.06 kB / 0.6075 GB, free: 39.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.4967, allocations: 7.609 kB / 0.6075 GB, free: 39.04 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.4968, allocations: 3.594 kB / 0.6075 GB, free: 39.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.4968, allocations: 3.844 kB / 0.6075 GB, free: 39.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.4968, allocations: 6.141 kB / 0.6075 GB, free: 39.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004429/0.4972, allocations: 319 kB / 0.6078 GB, free: 38.85 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.206e-05/0.4973, allocations: 93.36 kB / 0.6079 GB, free: 38.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.477e-05/0.4973, allocations: 6.859 kB / 0.6079 GB, free: 38.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.4975, allocations: 20.77 kB / 0.6079 GB, free: 38.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.4976, allocations: 12.2 kB / 0.6079 GB, free: 38.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.4976, allocations: 8.719 kB / 0.6079 GB, free: 38.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.143e-05/0.4977, allocations: 120.3 kB / 0.608 GB, free: 38.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4977, allocations: 2.656 kB / 0.608 GB, free: 38.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004794/0.4982, allocations: 128.9 kB / 0.6082 GB, free: 38.67 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.0009392/0.4991, allocations: 1.114 MB / 0.6092 GB, free: 37.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004484/0.4996, allocations: 187.6 kB / 0.6094 GB, free: 37.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4996, allocations: 0 / 0.6094 GB, free: 37.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000183/0.4998, allocations: 84.19 kB / 0.6095 GB, free: 37.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.5001, allocations: 45.48 kB / 0.6095 GB, free: 37.81 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.5019, allocations: 1.198 MB / 0.6107 GB, free: 37.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001387/0.5021, allocations: 0.7155 MB / 0.6114 GB, free: 36.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001523/0.5022, allocations: 31.86 kB / 0.6114 GB, free: 36.49 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.616e-05/0.5023, allocations: 43.03 kB / 0.6115 GB, free: 36.48 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.5023, allocations: 0 / 0.6115 GB, free: 36.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01657/0.5189, allocations: 5.704 MB / 0.6171 GB, free: 36.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001629/0.5191, allocations: 233.3 kB / 0.6173 GB, free: 35.88 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.866/2.386, allocations: 0 / 0.6173 GB, free: 35.88 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) Environment - environmentSimulation: