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.001634/0.001634, allocations: 107.1 kB / 16.27 MB, free: 6.41 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.001793/0.001793, allocations: 186.3 kB / 17.2 MB, free: 5.953 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.453/1.453, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8316/0.8316, allocations: 125.4 MB / 416.4 MB, free: 13.56 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002145, allocations: 67.91 kB / 0.4941 GB, free: 4.379 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3876/0.3898, allocations: 78.56 MB / 0.5709 GB, free: 31.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.005342/0.3952, allocations: 1.994 MB / 0.5728 GB, free: 30.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002978/0.3982, allocations: 1.655 MB / 0.5744 GB, free: 28.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.3984, allocations: 6.062 kB / 0.5744 GB, free: 28.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.673e-05/0.3985, allocations: 17.91 kB / 0.5744 GB, free: 28.95 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001669/0.3987, allocations: 48.77 kB / 0.5745 GB, free: 28.92 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001578/0.4003, allocations: 353.5 kB / 0.5748 GB, free: 28.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003038/0.4006, allocations: 221.1 kB / 0.575 GB, free: 28.64 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002129/0.4008, allocations: 60.7 kB / 0.5751 GB, free: 28.61 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.401, allocations: 80.47 kB / 0.5752 GB, free: 28.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001827/0.4012, allocations: 87.81 kB / 0.5753 GB, free: 28.53 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.025e-05/0.4012, allocations: 19.22 kB / 0.5753 GB, free: 28.53 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009687/0.4022, allocations: 402.2 kB / 0.5757 GB, free: 28.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.351e-05/0.4023, allocations: 38.75 kB / 0.5757 GB, free: 28.39 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.4024, allocations: 86.38 kB / 0.5758 GB, free: 28.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000782/0.4032, allocations: 427.7 kB / 0.5762 GB, free: 28.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.4032, allocations: 1.594 kB / 0.5762 GB, free: 28.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4032, allocations: 0 / 0.5762 GB, free: 28.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.4032, allocations: 0 / 0.5762 GB, free: 28.2 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.0008467/0.4041, allocations: 0.5204 MB / 0.5767 GB, free: 27.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.4041, allocations: 8.719 kB / 0.5767 GB, free: 27.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006333/0.4048, allocations: 94.55 kB / 0.5768 GB, free: 27.72 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.4049, allocations: 179.7 kB / 0.577 GB, free: 27.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.916e-05/0.405, allocations: 49.08 kB / 0.577 GB, free: 27.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.4051, allocations: 18.39 kB / 0.577 GB, free: 27.47 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004465/0.4055, allocations: 185.5 kB / 0.5772 GB, free: 27.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.4055, allocations: 1.344 kB / 0.5772 GB, free: 27.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.694e-05/0.4056, allocations: 6.984 kB / 0.5772 GB, free: 27.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/0.4056, allocations: 7.312 kB / 0.5772 GB, free: 27.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004907/0.4061, allocations: 180 kB / 0.5774 GB, free: 27.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001424/0.4075, allocations: 0.9221 MB / 0.5783 GB, free: 26.51 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005163/0.408, allocations: 165.3 kB / 0.5785 GB, free: 26.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001954/0.4083, allocations: 82.59 kB / 0.5785 GB, free: 26.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000603/0.4089, allocations: 0.5186 MB / 0.579 GB, free: 25.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.4089, allocations: 38.34 kB / 0.5791 GB, free: 25.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 2.946e-06/0.4089, allocations: 0 / 0.5791 GB, free: 25.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007312/0.4097, allocations: 238.8 kB / 0.5793 GB, free: 25.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.4097, allocations: 54.81 kB / 0.5794 GB, free: 25.63 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.4098, allocations: 157.9 kB / 0.5795 GB, free: 25.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.4099, allocations: 28.14 kB / 0.5795 GB, free: 25.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.465e-05/0.4099, allocations: 122.1 kB / 0.5797 GB, free: 25.37 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.885e-05/0.41, allocations: 46.88 kB / 0.5797 GB, free: 25.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.567e-05/0.4101, allocations: 44.27 kB / 0.5797 GB, free: 25.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.38e-05/0.4101, allocations: 330.2 kB / 0.5801 GB, free: 24.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/0.4103, allocations: 70.83 kB / 0.5801 GB, free: 24.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.4106, allocations: 96.7 kB / 0.5802 GB, free: 24.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003766/0.411, allocations: 145.5 kB / 0.5804 GB, free: 24.85 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.411, allocations: 1.469 kB / 0.5804 GB, free: 24.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005054/0.4115, allocations: 213.7 kB / 0.5806 GB, free: 24.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.4115, allocations: 6.5 kB / 0.5806 GB, free: 24.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.4115, allocations: 2.531 kB / 0.5806 GB, free: 24.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.4116, allocations: 2.219 kB / 0.5806 GB, free: 24.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/0.4118, allocations: 40.39 kB / 0.5806 GB, free: 24.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.4118, allocations: 1.219 kB / 0.5806 GB, free: 24.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.412, allocations: 24.28 kB / 0.5806 GB, free: 24.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.4121, allocations: 9.219 kB / 0.5806 GB, free: 24.72 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 0.0001033/0.4122, allocations: 128.9 kB / 0.5808 GB, free: 24.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.742e-05/0.4122, allocations: 14.72 kB / 0.5808 GB, free: 24.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005107/0.4127, allocations: 204.8 kB / 0.581 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.4128, allocations: 1.469 kB / 0.581 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.4128, allocations: 0 / 0.581 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.4128, allocations: 0.7812 kB / 0.581 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.4141, allocations: 0.9902 MB / 0.5819 GB, free: 23.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.4141, allocations: 0 / 0.5819 GB, free: 23.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/0.4143, allocations: 33.95 kB / 0.582 GB, free: 23.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.4143, allocations: 1.281 kB / 0.582 GB, free: 23.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.4143, allocations: 2.375 kB / 0.582 GB, free: 23.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.4144, allocations: 6.906 kB / 0.582 GB, free: 23.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/0.4144, allocations: 5.219 kB / 0.582 GB, free: 23.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004641/0.4148, allocations: 288.7 kB / 0.5823 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.353e-05/0.4149, allocations: 88.8 kB / 0.5823 GB, free: 23.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.741e-05/0.4149, allocations: 7.656 kB / 0.5824 GB, free: 23.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.4151, allocations: 11.83 kB / 0.5824 GB, free: 23.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.4152, allocations: 17.98 kB / 0.5824 GB, free: 23.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.4152, allocations: 7.609 kB / 0.5824 GB, free: 23.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.389e-05/0.4153, allocations: 118.4 kB / 0.5825 GB, free: 23.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4153, allocations: 1.375 kB / 0.5825 GB, free: 23.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006016/0.4159, allocations: 129.6 kB / 0.5826 GB, free: 22.97 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.000443/0.4164, allocations: 233.4 kB / 0.5829 GB, free: 22.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006961/0.4171, allocations: 181.3 kB / 0.583 GB, free: 22.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.4171, allocations: 0.6875 kB / 0.583 GB, free: 22.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002196/0.4173, allocations: 81.94 kB / 0.5831 GB, free: 22.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004607/0.4178, allocations: 44.48 kB / 0.5831 GB, free: 22.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007064/0.4185, allocations: 321.2 kB / 0.5835 GB, free: 22.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/0.4187, allocations: 0.7142 MB / 0.5841 GB, free: 21.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001548/0.4188, allocations: 33.75 kB / 0.5842 GB, free: 21.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.2e-05/0.4189, allocations: 18.38 kB / 0.5842 GB, free: 21.72 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4189, allocations: 3.406 kB / 0.5842 GB, free: 21.72 MB / 446.1 MB Notification: Performance of Templates: time 0.008245/0.4272, allocations: 4.259 MB / 0.5884 GB, free: 19.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)