Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00603/0.00603, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001443/0.001443, allocations: 188.6 kB / 16.67 MB, free: 5.93 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002056/0.002056, allocations: 288.9 kB / 290.8 MB, free: 14.41 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9138/0.9138, allocations: 169.3 MB / 0.4983 GB, free: 4.367 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 95.84 kB / 0.6814 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4151/0.4168, allocations: 86.96 MB / 0.7664 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002985/0.4198, allocations: 2.013 MB / 0.7683 GB, free: 9.059 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00189/0.4217, allocations: 1.659 MB / 0.77 GB, free: 7.723 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.601e-05/0.4218, allocations: 6.562 kB / 0.77 GB, free: 7.719 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.518e-05/0.4219, allocations: 20.88 kB / 0.77 GB, free: 7.699 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.957e-05/0.422, allocations: 49.86 kB / 0.77 GB, free: 7.656 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009964/0.423, allocations: 363 kB / 0.7704 GB, free: 7.395 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.4232, allocations: 212.8 kB / 0.7706 GB, free: 7.273 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.4234, allocations: 59.38 kB / 0.7706 GB, free: 7.238 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.4235, allocations: 84.61 kB / 0.7707 GB, free: 7.191 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.4237, allocations: 89.31 kB / 0.7708 GB, free: 7.133 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.454e-05/0.4237, allocations: 18.59 kB / 0.7708 GB, free: 7.133 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007451/0.4245, allocations: 415.6 kB / 0.7712 GB, free: 6.926 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.563e-05/0.4245, allocations: 37.25 kB / 0.7712 GB, free: 6.895 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.61e-05/0.4246, allocations: 90.14 kB / 0.7713 GB, free: 6.836 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00053/0.4251, allocations: 422.9 kB / 0.7717 GB, free: 6.582 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.4251, allocations: 0 / 0.7717 GB, free: 6.582 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.996e-06/0.4252, allocations: 8.922 kB / 0.7717 GB, free: 6.574 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.4252, allocations: 0 / 0.7717 GB, free: 6.574 MB / 0.545 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.0007312/0.4259, allocations: 0.5116 MB / 0.7722 GB, free: 6.086 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.426, allocations: 9.812 kB / 0.7723 GB, free: 6.086 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006116/0.4266, allocations: 89.27 kB / 0.7723 GB, free: 6.047 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.4267, allocations: 181.7 kB / 0.7725 GB, free: 5.836 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.4268, allocations: 45.33 kB / 0.7726 GB, free: 5.797 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.572e-05/0.4269, allocations: 14.16 kB / 0.7726 GB, free: 5.793 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004677/0.4274, allocations: 186.7 kB / 0.7727 GB, free: 5.672 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.4274, allocations: 4.938 kB / 0.7728 GB, free: 5.668 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.575e-05/0.4274, allocations: 5.312 kB / 0.7728 GB, free: 5.664 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.4274, allocations: 3.906 kB / 0.7728 GB, free: 5.664 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004526/0.4279, allocations: 182.2 kB / 0.7729 GB, free: 5.578 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.4292, allocations: 0.9208 MB / 0.7738 GB, free: 4.66 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004718/0.4297, allocations: 175.9 kB / 0.774 GB, free: 4.559 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000176/0.4298, allocations: 76.16 kB / 0.7741 GB, free: 4.516 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005067/0.4304, allocations: 0.5209 MB / 0.7746 GB, free: 3.922 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.4304, allocations: 35.97 kB / 0.7746 GB, free: 3.879 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.4304, allocations: 0 / 0.7746 GB, free: 3.879 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0006517/0.4311, allocations: 241.2 kB / 0.7748 GB, free: 3.746 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.4311, allocations: 53 kB / 0.7749 GB, free: 3.684 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.4312, allocations: 160.7 kB / 0.7751 GB, free: 3.555 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.4312, allocations: 35.08 kB / 0.7751 GB, free: 3.516 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.233e-05/0.4313, allocations: 117.2 kB / 0.7752 GB, free: 3.402 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.4313, allocations: 44.89 kB / 0.7752 GB, free: 3.363 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.519e-05/0.4314, allocations: 39.11 kB / 0.7753 GB, free: 3.332 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.655e-05/0.4315, allocations: 325.2 kB / 0.7756 GB, free: 3.008 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.4317, allocations: 73.27 kB / 0.7757 GB, free: 2.973 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/0.4319, allocations: 93.64 kB / 0.7757 GB, free: 2.918 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003567/0.4323, allocations: 153.7 kB / 0.7759 GB, free: 2.828 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.4323, allocations: 4.875 kB / 0.7759 GB, free: 2.824 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004786/0.4328, allocations: 217.7 kB / 0.7761 GB, free: 2.703 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.4328, allocations: 4.812 kB / 0.7761 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.4328, allocations: 1.031 kB / 0.7761 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.4328, allocations: 1.188 kB / 0.7761 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/0.433, allocations: 47.66 kB / 0.7762 GB, free: 2.684 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.4331, allocations: 1.375 kB / 0.7762 GB, free: 2.684 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.4332, allocations: 25.64 kB / 0.7762 GB, free: 2.668 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.4333, allocations: 4.156 kB / 0.7762 GB, free: 2.668 MB / 0.545 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.762e-05/0.4334, allocations: 130.2 kB / 0.7763 GB, free: 2.539 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.447e-05/0.4334, allocations: 14.59 kB / 0.7763 GB, free: 2.531 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004558/0.4339, allocations: 194.3 kB / 0.7765 GB, free: 2.406 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.4339, allocations: 2.781 kB / 0.7765 GB, free: 2.406 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4339, allocations: 0 / 0.7765 GB, free: 2.406 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.4339, allocations: 3.984 kB / 0.7765 GB, free: 2.402 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.4351, allocations: 0.9822 MB / 0.7775 GB, free: 1.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.4351, allocations: 0 / 0.7775 GB, free: 1.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001928/0.4353, allocations: 34.19 kB / 0.7775 GB, free: 1.398 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.4353, allocations: 5.219 kB / 0.7775 GB, free: 1.395 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.4353, allocations: 6.406 kB / 0.7775 GB, free: 1.391 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.4353, allocations: 0.9375 kB / 0.7775 GB, free: 1.391 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4353, allocations: 1.062 kB / 0.7775 GB, free: 1.391 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004817/0.4358, allocations: 295.9 kB / 0.7778 GB, free: 1.16 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.889e-05/0.4359, allocations: 89.92 kB / 0.7779 GB, free: 1.059 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.369e-05/0.4359, allocations: 1.406 kB / 0.7779 GB, free: 1.059 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.4361, allocations: 19.69 kB / 0.7779 GB, free: 1.047 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.4362, allocations: 17.61 kB / 0.7779 GB, free: 1.035 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.4362, allocations: 4.312 kB / 0.7779 GB, free: 1.035 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.963e-05/0.4363, allocations: 122.6 kB / 0.778 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4363, allocations: 4 kB / 0.7781 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004204/0.4367, allocations: 126.2 kB / 0.7782 GB, free: 0.8984 MB / 0.545 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.0003994/0.4371, allocations: 230.2 kB / 0.7784 GB, free: 0.75 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004673/0.4376, allocations: 170.5 kB / 0.7786 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4376, allocations: 0 / 0.7786 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001983/0.4378, allocations: 92.7 kB / 0.7786 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.4382, allocations: 45.25 kB / 0.7787 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005945/0.4388, allocations: 321.3 kB / 0.779 GB, free: 376 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.439, allocations: 0.7057 MB / 0.7797 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001582/0.4392, allocations: 37.41 kB / 0.7797 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.011e-05/0.4393, allocations: 21.7 kB / 0.7797 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.4393, allocations: 0 / 0.7797 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of Templates: time 0.008566/0.4479, allocations: 4.287 MB / 0.7839 GB, free: 13.47 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)