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.0008527/0.000853, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009034/0.0009036, allocations: 168.7 kB / 15.95 MB, free: 204 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.362/1.362, allocations: 223.3 MB / 240 MB, free: 5.391 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.4 MB / 434.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000308/0.0003081, allocations: 8 kB / 0.5161 GB, free: 11.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1553, allocations: 83.42 MB / 0.5975 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.00189/0.1573, allocations: 1.67 MB / 0.5992 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001945/0.1592, allocations: 1.556 MB / 0.6007 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.967e-05/0.1593, allocations: 0 / 0.6007 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.874e-05/0.1593, allocations: 23.84 kB / 0.6007 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.507e-05/0.1594, allocations: 35.69 kB / 0.6008 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006604/0.1601, allocations: 267.1 kB / 0.601 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.1603, allocations: 207.1 kB / 0.6012 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.1604, allocations: 41.66 kB / 0.6012 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.836e-05/0.1605, allocations: 63.84 kB / 0.6013 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.1606, allocations: 79.67 kB / 0.6014 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.1607, allocations: 12 kB / 0.6014 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006572/0.1613, allocations: 379.5 kB / 0.6018 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.303e-05/0.1614, allocations: 31.91 kB / 0.6018 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.182e-05/0.1614, allocations: 53.64 kB / 0.6018 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003484/0.1618, allocations: 327.4 kB / 0.6022 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1618, allocations: 0 / 0.6022 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1618, allocations: 0 / 0.6022 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.1618, allocations: 0 / 0.6022 GB, free: 2.926 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.0006589/0.1625, allocations: 495 kB / 0.6026 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.1625, allocations: 8.031 kB / 0.6026 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.152e-05/0.1625, allocations: 54.55 kB / 0.6027 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004909/0.163, allocations: 95.77 kB / 0.6028 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.1632, allocations: 186.7 kB / 0.603 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.096e-05/0.1633, allocations: 49.69 kB / 0.603 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.1633, allocations: 16 kB / 0.603 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003761/0.1637, allocations: 182.6 kB / 0.6032 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.1637, allocations: 7.938 kB / 0.6032 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.1637, allocations: 4 kB / 0.6032 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.1637, allocations: 4 kB / 0.6032 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004085/0.1641, allocations: 192.4 kB / 0.6034 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.1653, allocations: 0.9151 MB / 0.6043 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004445/0.1658, allocations: 186.5 kB / 0.6045 GB, free: 324 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.166, allocations: 84.83 kB / 0.6045 GB, free: 236 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2835/0.4495, allocations: 0.5108 MB / 0.605 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.4496, allocations: 37.7 kB / 0.6051 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 2.625e-06/0.4496, allocations: 2.312 kB / 0.6051 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0007836/0.4504, allocations: 239.5 kB / 0.6053 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.4504, allocations: 55.47 kB / 0.6054 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.4505, allocations: 163.5 kB / 0.6055 GB, free: 40.2 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.4506, allocations: 26.8 kB / 0.6055 GB, free: 40.17 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.301e-05/0.4506, allocations: 117.3 kB / 0.6057 GB, free: 40.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.298e-05/0.4507, allocations: 53.89 kB / 0.6057 GB, free: 40.07 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.166e-05/0.4507, allocations: 2.656 kB / 0.6057 GB, free: 40.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.04e-05/0.4507, allocations: 328.6 kB / 0.606 GB, free: 39.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/0.4509, allocations: 74.12 kB / 0.6061 GB, free: 39.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.4511, allocations: 103.2 kB / 0.6062 GB, free: 39.74 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.4513, allocations: 77.72 kB / 0.6063 GB, free: 39.74 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4513, allocations: 4 kB / 0.6063 GB, free: 39.74 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004018/0.4517, allocations: 214.7 kB / 0.6065 GB, free: 39.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.4517, allocations: 9.172 kB / 0.6065 GB, free: 39.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4517, allocations: 0 / 0.6065 GB, free: 39.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.4517, allocations: 6.891 kB / 0.6065 GB, free: 39.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.452, allocations: 43.52 kB / 0.6065 GB, free: 39.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.452, allocations: 1.562 kB / 0.6065 GB, free: 39.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/0.4521, allocations: 30.66 kB / 0.6066 GB, free: 39.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.4522, allocations: 12.88 kB / 0.6066 GB, free: 39.69 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.959e-05/0.4523, allocations: 122.9 kB / 0.6067 GB, free: 39.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.571e-05/0.4523, allocations: 9.812 kB / 0.6067 GB, free: 39.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004462/0.4528, allocations: 204.8 kB / 0.6069 GB, free: 39.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.4528, allocations: 3.516 kB / 0.6069 GB, free: 39.54 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.4528, allocations: 4.578 kB / 0.6069 GB, free: 39.53 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.4528, allocations: 0.5625 kB / 0.6069 GB, free: 39.53 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.4539, allocations: 0.9921 MB / 0.6079 GB, free: 38.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.4539, allocations: 2.688 kB / 0.6079 GB, free: 38.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001862/0.4541, allocations: 34.52 kB / 0.6079 GB, free: 38.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.4542, allocations: 3.953 kB / 0.6079 GB, free: 38.74 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.4542, allocations: 7.156 kB / 0.6079 GB, free: 38.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.4542, allocations: 1.312 kB / 0.6079 GB, free: 38.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.4542, allocations: 3.875 kB / 0.6079 GB, free: 38.74 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003959/0.4546, allocations: 297.3 kB / 0.6082 GB, free: 38.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.475e-05/0.4546, allocations: 91.75 kB / 0.6083 GB, free: 38.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/0.4547, allocations: 12.36 kB / 0.6083 GB, free: 38.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/0.4549, allocations: 17.48 kB / 0.6083 GB, free: 38.49 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.4549, allocations: 13.56 kB / 0.6083 GB, free: 38.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.4549, allocations: 6.562 kB / 0.6083 GB, free: 38.49 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.091e-05/0.455, allocations: 117.2 kB / 0.6085 GB, free: 38.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.455, allocations: 0 / 0.6085 GB, free: 38.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004442/0.4555, allocations: 137.3 kB / 0.6086 GB, free: 38.4 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.0008427/0.4563, allocations: 0.9549 MB / 0.6095 GB, free: 37.71 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003962/0.4567, allocations: 184.7 kB / 0.6097 GB, free: 37.71 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4567, allocations: 0 / 0.6097 GB, free: 37.71 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.4569, allocations: 82.61 kB / 0.6098 GB, free: 37.71 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.4573, allocations: 44.77 kB / 0.6098 GB, free: 37.71 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.4588, allocations: 1.032 MB / 0.6108 GB, free: 37.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001373/0.4589, allocations: 0.7123 MB / 0.6115 GB, free: 36.55 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001572/0.4591, allocations: 31.56 kB / 0.6115 GB, free: 36.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.263e-05/0.4592, allocations: 43.72 kB / 0.6116 GB, free: 36.54 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.4592, allocations: 1.031 kB / 0.6116 GB, free: 36.54 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01505/0.4743, allocations: 5.715 MB / 0.6172 GB, free: 36.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001348/0.4745, allocations: 221 kB / 0.6174 GB, free: 35.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/2.297, allocations: 0 / 0.6174 GB, free: 35.9 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: