Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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: translateModel(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001562/0.001562, allocations: 104 kB / 16.94 MB, free: 6.191 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.001879/0.001879, allocations: 191.4 kB / 17.86 MB, free: 5.293 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.402/1.402, allocations: 222.9 MB / 241.6 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7741/0.7741, allocations: 122.9 MB / 414.6 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 67.91 kB / 0.4917 GB, free: 7.445 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4321/0.4342, allocations: 77.92 MB / 0.5678 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.00357/0.4379, allocations: 2.006 MB / 0.5698 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002525/0.4404, allocations: 1.656 MB / 0.5714 GB, free: 30.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.882e-05/0.4405, allocations: 3.219 kB / 0.5714 GB, free: 30.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.486e-05/0.4406, allocations: 18.88 kB / 0.5714 GB, free: 30.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.4407, allocations: 52.66 kB / 0.5715 GB, free: 30.08 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.442, allocations: 351 kB / 0.5718 GB, free: 29.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002764/0.4422, allocations: 222 kB / 0.572 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001732/0.4424, allocations: 54.75 kB / 0.5721 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.4426, allocations: 90.22 kB / 0.5722 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.4427, allocations: 88.58 kB / 0.5722 GB, free: 29.69 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.09e-05/0.4428, allocations: 19.16 kB / 0.5723 GB, free: 29.69 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000912/0.4437, allocations: 398.3 kB / 0.5726 GB, free: 29.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.436e-05/0.4438, allocations: 41.98 kB / 0.5727 GB, free: 29.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.4439, allocations: 86.09 kB / 0.5728 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007208/0.4446, allocations: 423.4 kB / 0.5732 GB, free: 29.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.351e-06/0.4446, allocations: 0.6562 kB / 0.5732 GB, free: 29.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.4446, allocations: 0 / 0.5732 GB, free: 29.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.4446, allocations: 1.938 kB / 0.5732 GB, free: 29.36 MB / 446.1 MB 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.0008346/0.4455, allocations: 0.5213 MB / 0.5737 GB, free: 28.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.4455, allocations: 10.91 kB / 0.5737 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006242/0.4462, allocations: 92.3 kB / 0.5738 GB, free: 28.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.4463, allocations: 174.3 kB / 0.5739 GB, free: 28.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.46e-05/0.4464, allocations: 45.86 kB / 0.574 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.034e-05/0.4464, allocations: 17.47 kB / 0.574 GB, free: 28.63 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000437/0.4469, allocations: 186 kB / 0.5742 GB, free: 28.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.4469, allocations: 5.469 kB / 0.5742 GB, free: 28.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.673e-05/0.4469, allocations: 6.531 kB / 0.5742 GB, free: 28.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.4469, allocations: 3.625 kB / 0.5742 GB, free: 28.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004689/0.4474, allocations: 183.2 kB / 0.5744 GB, free: 28.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/0.4488, allocations: 0.9125 MB / 0.5753 GB, free: 27.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005438/0.4493, allocations: 177 kB / 0.5754 GB, free: 27.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/0.4496, allocations: 80.03 kB / 0.5755 GB, free: 27.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005964/0.4502, allocations: 0.5181 MB / 0.576 GB, free: 27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.4502, allocations: 38.05 kB / 0.5761 GB, free: 26.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 2.324e-06/0.4502, allocations: 3.984 kB / 0.5761 GB, free: 26.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007461/0.451, allocations: 242.6 kB / 0.5763 GB, free: 26.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.451, allocations: 56.59 kB / 0.5763 GB, free: 26.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.4512, allocations: 151.9 kB / 0.5765 GB, free: 26.67 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.4512, allocations: 32.39 kB / 0.5765 GB, free: 26.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.447e-05/0.4513, allocations: 121.6 kB / 0.5766 GB, free: 26.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.726e-05/0.4513, allocations: 48.09 kB / 0.5767 GB, free: 26.49 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.619e-05/0.4514, allocations: 41.92 kB / 0.5767 GB, free: 26.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.503e-05/0.4515, allocations: 322.5 kB / 0.577 GB, free: 26.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/0.4517, allocations: 77.59 kB / 0.5771 GB, free: 26.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002336/0.4519, allocations: 95.09 kB / 0.5772 GB, free: 26.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003875/0.4523, allocations: 147.1 kB / 0.5773 GB, free: 26 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.4524, allocations: 7.875 kB / 0.5773 GB, free: 26 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005208/0.4529, allocations: 207.8 kB / 0.5775 GB, free: 25.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.4529, allocations: 4.375 kB / 0.5775 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.4529, allocations: 0.9375 kB / 0.5775 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.4529, allocations: 2.5 kB / 0.5775 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/0.4532, allocations: 41.83 kB / 0.5776 GB, free: 25.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.4532, allocations: 5.078 kB / 0.5776 GB, free: 25.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.4534, allocations: 25.45 kB / 0.5776 GB, free: 25.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.4535, allocations: 5.5 kB / 0.5776 GB, free: 25.89 MB / 446.1 MB 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 9.185e-05/0.4536, allocations: 129.2 kB / 0.5777 GB, free: 25.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.67e-05/0.4536, allocations: 21.47 kB / 0.5778 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005426/0.4542, allocations: 199.8 kB / 0.578 GB, free: 25.65 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.4542, allocations: 2.109 kB / 0.578 GB, free: 25.65 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4542, allocations: 0 / 0.578 GB, free: 25.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.4542, allocations: 2.203 kB / 0.578 GB, free: 25.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001347/0.4555, allocations: 0.9854 MB / 0.5789 GB, free: 24.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.4556, allocations: 2.375 kB / 0.5789 GB, free: 24.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000197/0.4558, allocations: 32.45 kB / 0.579 GB, free: 24.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.4558, allocations: 1.281 kB / 0.579 GB, free: 24.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.4558, allocations: 3.188 kB / 0.579 GB, free: 24.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.4558, allocations: 1.906 kB / 0.579 GB, free: 24.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.4558, allocations: 1.312 kB / 0.579 GB, free: 24.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004689/0.4563, allocations: 292.4 kB / 0.5792 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.948e-05/0.4563, allocations: 90.92 kB / 0.5793 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.747e-05/0.4564, allocations: 7.359 kB / 0.5793 GB, free: 24.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/0.4566, allocations: 14.73 kB / 0.5793 GB, free: 24.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.4567, allocations: 17.28 kB / 0.5794 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.4567, allocations: 4.875 kB / 0.5794 GB, free: 24.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.784e-05/0.4568, allocations: 125.2 kB / 0.5795 GB, free: 24.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4568, allocations: 5.312 kB / 0.5795 GB, free: 24.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005746/0.4573, allocations: 127.7 kB / 0.5796 GB, free: 24.31 MB / 446.1 MB 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.0004576/0.4578, allocations: 223.7 kB / 0.5798 GB, free: 24.19 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005428/0.4584, allocations: 190.9 kB / 0.58 GB, free: 24.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4584, allocations: 0 / 0.58 GB, free: 24.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002158/0.4586, allocations: 83.5 kB / 0.5801 GB, free: 24.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004526/0.4591, allocations: 41.83 kB / 0.5801 GB, free: 24.08 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007099/0.4598, allocations: 352.7 kB / 0.5805 GB, free: 23.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001759/0.46, allocations: 0.709 MB / 0.5812 GB, free: 23.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.939e-05/0.4601, allocations: 22.73 kB / 0.5812 GB, free: 23.12 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4601, allocations: 1.75 kB / 0.5812 GB, free: 23.12 MB / 446.1 MB Notification: Performance of Templates: time 0.00657/0.4666, allocations: 3.859 MB / 0.585 GB, free: 21.61 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)