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.001395/0.001395, allocations: 107.9 kB / 17.03 MB, free: 5.703 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.001491/0.001491, allocations: 196.1 kB / 17.97 MB, free: 5.078 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.365/1.365, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7312/0.7312, allocations: 115.1 MB / 406.9 MB, free: 6.383 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 63.91 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3206, allocations: 76.15 MB / 0.5576 GB, free: 36.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002782/0.3234, allocations: 1.995 MB / 0.5595 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002291/0.3257, allocations: 1.653 MB / 0.5611 GB, free: 34.15 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.346e-05/0.3258, allocations: 1.375 kB / 0.5611 GB, free: 34.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.905e-05/0.3259, allocations: 24.62 kB / 0.5612 GB, free: 34.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.326, allocations: 50 kB / 0.5612 GB, free: 34.1 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.3272, allocations: 352.6 kB / 0.5615 GB, free: 33.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002698/0.3275, allocations: 218.7 kB / 0.5617 GB, free: 33.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001806/0.3276, allocations: 63.84 kB / 0.5618 GB, free: 33.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.3278, allocations: 81.94 kB / 0.5619 GB, free: 33.76 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001799/0.328, allocations: 91.23 kB / 0.562 GB, free: 33.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.781e-05/0.328, allocations: 23.38 kB / 0.562 GB, free: 33.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008559/0.3289, allocations: 406.5 kB / 0.5624 GB, free: 33.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.728e-05/0.3289, allocations: 42.14 kB / 0.5624 GB, free: 33.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.775e-05/0.329, allocations: 87.16 kB / 0.5625 GB, free: 33.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006089/0.3296, allocations: 430.3 kB / 0.5629 GB, free: 33.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3297, allocations: 3.062 kB / 0.5629 GB, free: 33.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3297, allocations: 0 / 0.5629 GB, free: 33.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.3297, allocations: 0 / 0.5629 GB, free: 33.38 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.0007417/0.3304, allocations: 0.5165 MB / 0.5634 GB, free: 32.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.3305, allocations: 9.156 kB / 0.5634 GB, free: 32.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005722/0.3311, allocations: 89.31 kB / 0.5635 GB, free: 32.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.673e-05/0.3312, allocations: 178.8 kB / 0.5637 GB, free: 32.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.202e-05/0.3312, allocations: 50.38 kB / 0.5637 GB, free: 32.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.3313, allocations: 14.41 kB / 0.5638 GB, free: 32.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003819/0.3317, allocations: 183.3 kB / 0.5639 GB, free: 32.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.3317, allocations: 6.281 kB / 0.5639 GB, free: 32.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.245e-05/0.3317, allocations: 6.281 kB / 0.5639 GB, free: 32.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.3317, allocations: 3.188 kB / 0.5639 GB, free: 32.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000433/0.3322, allocations: 189.6 kB / 0.5641 GB, free: 32.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.3333, allocations: 0.9155 MB / 0.565 GB, free: 31.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000453/0.3338, allocations: 173.8 kB / 0.5652 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001817/0.334, allocations: 79.34 kB / 0.5653 GB, free: 31.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005218/0.3345, allocations: 0.5173 MB / 0.5658 GB, free: 31.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.3346, allocations: 39.09 kB / 0.5658 GB, free: 30.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 2.064e-06/0.3346, allocations: 0.5938 kB / 0.5658 GB, free: 30.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006721/0.3353, allocations: 236.1 kB / 0.566 GB, free: 30.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.3353, allocations: 53.73 kB / 0.5661 GB, free: 30.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.3354, allocations: 158.8 kB / 0.5662 GB, free: 30.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.3354, allocations: 28.36 kB / 0.5663 GB, free: 30.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.913e-05/0.3355, allocations: 118.8 kB / 0.5664 GB, free: 30.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.3355, allocations: 53.58 kB / 0.5664 GB, free: 30.51 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.005e-05/0.3356, allocations: 39.53 kB / 0.5665 GB, free: 30.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.949e-05/0.3357, allocations: 328.6 kB / 0.5668 GB, free: 30.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.3359, allocations: 70.97 kB / 0.5668 GB, free: 30.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/0.3361, allocations: 94.55 kB / 0.5669 GB, free: 30.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000356/0.3364, allocations: 152.1 kB / 0.5671 GB, free: 30.03 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3365, allocations: 3.938 kB / 0.5671 GB, free: 30.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004711/0.3369, allocations: 210.9 kB / 0.5673 GB, free: 29.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.337, allocations: 5.656 kB / 0.5673 GB, free: 29.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.337, allocations: 0.5625 kB / 0.5673 GB, free: 29.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.337, allocations: 2 kB / 0.5673 GB, free: 29.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000251/0.3372, allocations: 43.84 kB / 0.5673 GB, free: 29.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.3373, allocations: 2.453 kB / 0.5673 GB, free: 29.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/0.3374, allocations: 21.67 kB / 0.5674 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.3375, allocations: 10.36 kB / 0.5674 GB, free: 29.91 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 8.456e-05/0.3376, allocations: 125.1 kB / 0.5675 GB, free: 29.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.756e-05/0.3376, allocations: 16.73 kB / 0.5675 GB, free: 29.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005045/0.3381, allocations: 204.5 kB / 0.5677 GB, free: 29.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.3381, allocations: 3.969 kB / 0.5677 GB, free: 29.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.3382, allocations: 4 kB / 0.5677 GB, free: 29.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.3382, allocations: 1.172 kB / 0.5677 GB, free: 29.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/0.3395, allocations: 0.984 MB / 0.5687 GB, free: 28.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3395, allocations: 0.5 kB / 0.5687 GB, free: 28.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002085/0.3397, allocations: 29.23 kB / 0.5687 GB, free: 28.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.3397, allocations: 6.594 kB / 0.5687 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.3397, allocations: 7.188 kB / 0.5687 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.3397, allocations: 1.031 kB / 0.5687 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3398, allocations: 1.688 kB / 0.5687 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004489/0.3402, allocations: 282 kB / 0.569 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.089e-05/0.3402, allocations: 86.72 kB / 0.5691 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.434e-05/0.3403, allocations: 8.875 kB / 0.5691 GB, free: 28.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.3405, allocations: 13.7 kB / 0.5691 GB, free: 28.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/0.3406, allocations: 16.34 kB / 0.5691 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.3406, allocations: 9.844 kB / 0.5691 GB, free: 28.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.243e-05/0.3407, allocations: 118.5 kB / 0.5692 GB, free: 28.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3407, allocations: 5.094 kB / 0.5692 GB, free: 28.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000516/0.3412, allocations: 130 kB / 0.5693 GB, free: 28.34 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.0004013/0.3416, allocations: 228.6 kB / 0.5696 GB, free: 28.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004818/0.3421, allocations: 180.3 kB / 0.5697 GB, free: 28.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3421, allocations: 0.75 kB / 0.5697 GB, free: 28.15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.3423, allocations: 83.23 kB / 0.5698 GB, free: 28.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/0.3427, allocations: 46.81 kB / 0.5699 GB, free: 28.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005963/0.3433, allocations: 325.4 kB / 0.5702 GB, free: 27.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.3435, allocations: 0.7072 MB / 0.5709 GB, free: 27.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001355/0.3436, allocations: 31.84 kB / 0.5709 GB, free: 27.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.653e-05/0.3437, allocations: 20 kB / 0.5709 GB, free: 27.2 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3437, allocations: 1 kB / 0.5709 GB, free: 27.2 MB / 446.1 MB Notification: Performance of Templates: time 0.00817/0.3519, allocations: 4.265 MB / 0.5751 GB, free: 26.91 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)