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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.001135/0.001135, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 189.2 kB / 16.62 MB, free: 6.613 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.34/1.34, allocations: 222.9 MB / 240.3 MB, free: 4.363 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.006/1.006, allocations: 143 MB / 433.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 67.89 kB / 0.5144 GB, free: 11.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1549, allocations: 82.05 MB / 0.5946 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003568/0.1585, allocations: 2.013 MB / 0.5965 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002706/0.1613, allocations: 1.656 MB / 0.5981 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.684e-05/0.1614, allocations: 0 / 0.5981 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.928e-05/0.1615, allocations: 19.84 kB / 0.5982 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.1616, allocations: 47.55 kB / 0.5982 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.1627, allocations: 366.8 kB / 0.5985 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002295/0.163, allocations: 223.1 kB / 0.5988 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.1632, allocations: 49.45 kB / 0.5988 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.1633, allocations: 83.77 kB / 0.5989 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.1634, allocations: 87.67 kB / 0.599 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.952e-05/0.1635, allocations: 16 kB / 0.599 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007721/0.1642, allocations: 419.5 kB / 0.5994 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.291e-05/0.1643, allocations: 35.91 kB / 0.5994 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.129e-05/0.1644, allocations: 87.64 kB / 0.5995 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005629/0.165, allocations: 443.1 kB / 0.5999 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.165, allocations: 0 / 0.5999 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.165, allocations: 0 / 0.5999 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.165, allocations: 0 / 0.5999 GB, free: 3.844 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.0009083/0.1659, allocations: 0.5148 MB / 0.6004 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.166, allocations: 12.03 kB / 0.6004 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.469e-05/0.166, allocations: 50.73 kB / 0.6005 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000595/0.1666, allocations: 88.64 kB / 0.6006 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.1668, allocations: 184.1 kB / 0.6008 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.281e-05/0.1669, allocations: 50.25 kB / 0.6008 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.849e-05/0.1669, allocations: 12.38 kB / 0.6008 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004261/0.1674, allocations: 187.5 kB / 0.601 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.1674, allocations: 4 kB / 0.601 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/0.1674, allocations: 8 kB / 0.601 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1674, allocations: 4 kB / 0.601 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004392/0.1679, allocations: 179.8 kB / 0.6012 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001441/0.1693, allocations: 0.9189 MB / 0.6021 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004785/0.1698, allocations: 162.6 kB / 0.6022 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/0.17, allocations: 84.75 kB / 0.6023 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006776/0.1707, allocations: 0.5181 MB / 0.6028 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.1707, allocations: 34.81 kB / 0.6028 GB, free: 496 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.613e-06/0.1707, allocations: 0 / 0.6028 GB, free: 496 kB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0007042/0.1714, allocations: 237.5 kB / 0.6031 GB, free: 252 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.1715, allocations: 55.41 kB / 0.6031 GB, free: 184 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.1717, allocations: 157.5 kB / 0.6033 GB, free: 20 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.2629/0.4345, allocations: 30.22 kB / 0.6033 GB, free: 44.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.4347, allocations: 115.3 kB / 0.6034 GB, free: 43.99 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.479e-05/0.4347, allocations: 49.27 kB / 0.6035 GB, free: 43.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.611e-05/0.4348, allocations: 37.19 kB / 0.6035 GB, free: 43.96 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.53e-05/0.4349, allocations: 329.3 kB / 0.6038 GB, free: 43.65 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002451/0.4351, allocations: 70.62 kB / 0.6039 GB, free: 43.65 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.4354, allocations: 93.69 kB / 0.604 GB, free: 43.64 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003467/0.4357, allocations: 156.4 kB / 0.6041 GB, free: 43.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.4357, allocations: 0 / 0.6041 GB, free: 43.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004628/0.4362, allocations: 213.8 kB / 0.6043 GB, free: 43.58 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.4362, allocations: 7.781 kB / 0.6043 GB, free: 43.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.4362, allocations: 0 / 0.6043 GB, free: 43.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.4363, allocations: 0.5312 kB / 0.6043 GB, free: 43.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002437/0.4365, allocations: 42.61 kB / 0.6044 GB, free: 43.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.4365, allocations: 0 / 0.6044 GB, free: 43.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.4367, allocations: 22.94 kB / 0.6044 GB, free: 43.58 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.4367, allocations: 10.5 kB / 0.6044 GB, free: 43.58 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 (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 8.785e-05/0.4368, allocations: 127 kB / 0.6045 GB, free: 43.46 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.36e-05/0.4369, allocations: 16.81 kB / 0.6045 GB, free: 43.46 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004672/0.4373, allocations: 200.9 kB / 0.6047 GB, free: 43.42 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.4374, allocations: 6.844 kB / 0.6047 GB, free: 43.42 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.4374, allocations: 0.5 kB / 0.6047 GB, free: 43.42 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.4374, allocations: 2.125 kB / 0.6047 GB, free: 43.42 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.4385, allocations: 0.9776 MB / 0.6057 GB, free: 42.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.4386, allocations: 5.156 kB / 0.6057 GB, free: 42.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/0.4388, allocations: 39.95 kB / 0.6057 GB, free: 42.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.4388, allocations: 0 / 0.6057 GB, free: 42.63 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.4388, allocations: 2.562 kB / 0.6057 GB, free: 42.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/0.4388, allocations: 1 kB / 0.6057 GB, free: 42.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4388, allocations: 4.594 kB / 0.6057 GB, free: 42.63 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003944/0.4392, allocations: 292 kB / 0.606 GB, free: 42.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.282e-05/0.4392, allocations: 95.27 kB / 0.6061 GB, free: 42.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.923e-05/0.4393, allocations: 6.406 kB / 0.6061 GB, free: 42.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.4395, allocations: 18.28 kB / 0.6061 GB, free: 42.38 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.4395, allocations: 9.406 kB / 0.6061 GB, free: 42.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.4396, allocations: 8.25 kB / 0.6062 GB, free: 42.38 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.397e-05/0.4396, allocations: 120.5 kB / 0.6063 GB, free: 42.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4396, allocations: 0 / 0.6063 GB, free: 42.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004442/0.4401, allocations: 123.3 kB / 0.6064 GB, free: 42.29 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 (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.0008966/0.441, allocations: 0.9489 MB / 0.6073 GB, free: 41.61 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004645/0.4415, allocations: 181.5 kB / 0.6075 GB, free: 41.61 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.4415, allocations: 0 / 0.6075 GB, free: 41.61 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001739/0.4417, allocations: 82.47 kB / 0.6076 GB, free: 41.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000433/0.4421, allocations: 48.39 kB / 0.6076 GB, free: 41.61 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002293/0.4444, allocations: 2.062 MB / 0.6096 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.4446, allocations: 0.7088 MB / 0.6103 GB, free: 39.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001474/0.4447, allocations: 35.42 kB / 0.6104 GB, free: 39.65 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.316e-05/0.4448, allocations: 42.06 kB / 0.6104 GB, free: 39.64 MB / 0.4981 GB Notification: Performance of SimCode: time 1.422e-06/0.4448, allocations: 0 / 0.6104 GB, free: 39.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02272/0.4675, allocations: 6.103 MB / 0.6164 GB, free: 39.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.988/8.456, allocations: 9.5 kB / 0.6164 GB, free: 39.05 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/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)