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.001067/0.001067, allocations: 108 kB / 15.6 MB, free: 132 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.001046/0.001046, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.295/1.295, allocations: 222.9 MB / 240.2 MB, free: 4.422 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 0.9505/0.9505, allocations: 143 MB / 433.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 63.91 kB / 0.5143 GB, free: 11.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1396, allocations: 82.04 MB / 0.5944 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003115/0.1428, allocations: 2.005 MB / 0.5964 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002261/0.1451, allocations: 1.659 MB / 0.598 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.062e-05/0.1452, allocations: 0 / 0.598 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.583e-05/0.1452, allocations: 23.78 kB / 0.598 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000118/0.1454, allocations: 47.55 kB / 0.598 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.1464, allocations: 366.8 kB / 0.5984 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002138/0.1466, allocations: 215.1 kB / 0.5986 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.1468, allocations: 61.44 kB / 0.5987 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.1469, allocations: 75.78 kB / 0.5987 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.1471, allocations: 91.66 kB / 0.5988 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.438e-05/0.1471, allocations: 20 kB / 0.5988 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007326/0.1478, allocations: 395.5 kB / 0.5992 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.291e-05/0.1479, allocations: 39.91 kB / 0.5993 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.94e-05/0.148, allocations: 91.64 kB / 0.5993 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005702/0.1486, allocations: 435.1 kB / 0.5998 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1486, allocations: 0 / 0.5998 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1486, allocations: 4 kB / 0.5998 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.1486, allocations: 0 / 0.5998 GB, free: 3.949 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.0007804/0.1494, allocations: 0.5109 MB / 0.6003 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.1494, allocations: 12.03 kB / 0.6003 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.041e-05/0.1495, allocations: 50.73 kB / 0.6003 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005908/0.1501, allocations: 84.66 kB / 0.6004 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.1502, allocations: 188.1 kB / 0.6006 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.455e-05/0.1503, allocations: 50.25 kB / 0.6006 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.1503, allocations: 16.38 kB / 0.6006 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004121/0.1507, allocations: 183.5 kB / 0.6008 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.1508, allocations: 0 / 0.6008 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.758e-05/0.1508, allocations: 12 kB / 0.6008 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.1508, allocations: 7.938 kB / 0.6008 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004609/0.1513, allocations: 171.9 kB / 0.601 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.1527, allocations: 0.9189 MB / 0.6019 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005398/0.1532, allocations: 174.5 kB / 0.6021 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.1534, allocations: 76.83 kB / 0.6021 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006503/0.1541, allocations: 0.522 MB / 0.6026 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.1541, allocations: 30.56 kB / 0.6027 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.1541, allocations: 0 / 0.6027 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0007128/0.1549, allocations: 240 kB / 0.6029 GB, free: 364 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.1549, allocations: 51.41 kB / 0.603 GB, free: 300 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.155, allocations: 169.4 kB / 0.6031 GB, free: 124 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.1551, allocations: 29.7 kB / 0.6031 GB, free: 88 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.2021/0.3572, allocations: 114.4 kB / 0.6033 GB, free: 44.13 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.247e-05/0.3573, allocations: 46.89 kB / 0.6033 GB, free: 44.12 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.725e-05/0.3574, allocations: 36.8 kB / 0.6033 GB, free: 44.1 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.165e-05/0.3574, allocations: 324.9 kB / 0.6036 GB, free: 43.79 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002342/0.3577, allocations: 75.39 kB / 0.6037 GB, free: 43.79 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.3579, allocations: 96.95 kB / 0.6038 GB, free: 43.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003778/0.3583, allocations: 147.3 kB / 0.6039 GB, free: 43.76 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.3583, allocations: 0 / 0.6039 GB, free: 43.76 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005/0.3588, allocations: 218.9 kB / 0.6042 GB, free: 43.72 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3588, allocations: 5.688 kB / 0.6042 GB, free: 43.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3588, allocations: 1.156 kB / 0.6042 GB, free: 43.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.3589, allocations: 0.5625 kB / 0.6042 GB, free: 43.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000256/0.3591, allocations: 39.34 kB / 0.6042 GB, free: 43.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.3591, allocations: 3.281 kB / 0.6042 GB, free: 43.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.3593, allocations: 26.88 kB / 0.6042 GB, free: 43.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.3593, allocations: 6.406 kB / 0.6042 GB, free: 43.71 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.052e-05/0.3594, allocations: 132.5 kB / 0.6044 GB, free: 43.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.3595, allocations: 15.28 kB / 0.6044 GB, free: 43.59 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004819/0.36, allocations: 195.5 kB / 0.6046 GB, free: 43.56 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.36, allocations: 9.375 kB / 0.6046 GB, free: 43.55 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.36, allocations: 0.6562 kB / 0.6046 GB, free: 43.55 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.36, allocations: 0.75 kB / 0.6046 GB, free: 43.55 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.3612, allocations: 0.9823 MB / 0.6055 GB, free: 42.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.3612, allocations: 4.125 kB / 0.6055 GB, free: 42.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002009/0.3614, allocations: 31.39 kB / 0.6056 GB, free: 42.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3614, allocations: 4.469 kB / 0.6056 GB, free: 42.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.3614, allocations: 2.688 kB / 0.6056 GB, free: 42.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.3614, allocations: 4.781 kB / 0.6056 GB, free: 42.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3615, allocations: 0 / 0.6056 GB, free: 42.77 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004267/0.3619, allocations: 287.1 kB / 0.6059 GB, free: 42.62 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.487e-05/0.3619, allocations: 93.95 kB / 0.6059 GB, free: 42.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.293e-05/0.362, allocations: 7.75 kB / 0.6059 GB, free: 42.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.3622, allocations: 18.66 kB / 0.606 GB, free: 42.51 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.165e-05/0.3622, allocations: 12.52 kB / 0.606 GB, free: 42.51 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.3623, allocations: 9.109 kB / 0.606 GB, free: 42.51 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.623e-05/0.3623, allocations: 121.4 kB / 0.6061 GB, free: 42.44 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3623, allocations: 0 / 0.6061 GB, free: 42.44 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004118/0.3627, allocations: 127.4 kB / 0.6062 GB, free: 42.43 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.0008207/0.3636, allocations: 0.9449 MB / 0.6071 GB, free: 41.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004479/0.364, allocations: 184.7 kB / 0.6073 GB, free: 41.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.364, allocations: 0 / 0.6073 GB, free: 41.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.3642, allocations: 84 kB / 0.6074 GB, free: 41.75 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/0.3646, allocations: 46.38 kB / 0.6074 GB, free: 41.75 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00217/0.3668, allocations: 2.064 MB / 0.6095 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.678e-05/0.3669, allocations: 0.7075 MB / 0.6102 GB, free: 39.79 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001452/0.3671, allocations: 31.08 kB / 0.6102 GB, free: 39.78 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.098e-05/0.3672, allocations: 46.48 kB / 0.6102 GB, free: 39.77 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.3672, allocations: 1.594 kB / 0.6102 GB, free: 39.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01925/0.3864, allocations: 6.069 MB / 0.6162 GB, free: 39.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.205/7.592, allocations: 15.47 kB / 0.6162 GB, free: 39.18 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)