Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001294/0.001294, allocations: 102.1 kB / 16.35 MB, free: 5.824 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.001248/0.001248, allocations: 193.9 kB / 17.29 MB, free: 5.48 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.243/1.243, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7392/0.7392, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 63.91 kB / 0.5067 GB, free: 7.645 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3293, allocations: 80.91 MB / 0.5858 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002615/0.3319, allocations: 2.009 MB / 0.5877 GB, free: 24.05 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.3337, allocations: 1.653 MB / 0.5893 GB, free: 22.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.329e-05/0.3337, allocations: 3.844 kB / 0.5893 GB, free: 22.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.353e-05/0.3338, allocations: 17.2 kB / 0.5894 GB, free: 22.71 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.968e-05/0.3339, allocations: 50.8 kB / 0.5894 GB, free: 22.67 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007944/0.3347, allocations: 359.5 kB / 0.5898 GB, free: 22.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.3349, allocations: 227.9 kB / 0.59 GB, free: 22.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.335, allocations: 50.88 kB / 0.59 GB, free: 22.15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.061e-05/0.3351, allocations: 81.22 kB / 0.5901 GB, free: 22.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.3352, allocations: 91.66 kB / 0.5902 GB, free: 21.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.3352, allocations: 20 kB / 0.5902 GB, free: 21.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005573/0.3358, allocations: 412.5 kB / 0.5906 GB, free: 21.56 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.182e-05/0.3358, allocations: 40.39 kB / 0.5906 GB, free: 21.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.148e-05/0.3359, allocations: 91.59 kB / 0.5907 GB, free: 21.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003907/0.3363, allocations: 425.3 kB / 0.5911 GB, free: 21.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3363, allocations: 1.719 kB / 0.5911 GB, free: 21.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3363, allocations: 3.938 kB / 0.5911 GB, free: 21.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.3363, allocations: 0 / 0.5911 GB, free: 21.02 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.0006014/0.3369, allocations: 0.5168 MB / 0.5916 GB, free: 20.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.337, allocations: 9.109 kB / 0.5916 GB, free: 20.44 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004892/0.3374, allocations: 92.55 kB / 0.5917 GB, free: 20.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.764e-05/0.3375, allocations: 184.1 kB / 0.5919 GB, free: 20.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.353e-05/0.3376, allocations: 46.25 kB / 0.592 GB, free: 20.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.3376, allocations: 20.94 kB / 0.592 GB, free: 20.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000329/0.338, allocations: 187 kB / 0.5922 GB, free: 19.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.338, allocations: 0 / 0.5922 GB, free: 19.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.338, allocations: 9.719 kB / 0.5922 GB, free: 19.87 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.338, allocations: 4 kB / 0.5922 GB, free: 19.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003642/0.3384, allocations: 180.7 kB / 0.5923 GB, free: 19.69 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.3394, allocations: 0.9164 MB / 0.5932 GB, free: 18.65 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003991/0.3398, allocations: 171.4 kB / 0.5934 GB, free: 18.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.34, allocations: 76.83 kB / 0.5935 GB, free: 18.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004746/0.3405, allocations: 0.5153 MB / 0.594 GB, free: 17.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.3405, allocations: 43.02 kB / 0.594 GB, free: 17.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.3405, allocations: 1.625 kB / 0.594 GB, free: 17.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005837/0.3411, allocations: 234.4 kB / 0.5942 GB, free: 17.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.805e-05/0.3411, allocations: 55.41 kB / 0.5943 GB, free: 17.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.259e-05/0.3412, allocations: 154.5 kB / 0.5944 GB, free: 17.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.3412, allocations: 33.7 kB / 0.5945 GB, free: 17.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.223e-05/0.3413, allocations: 124.4 kB / 0.5946 GB, free: 17.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.3413, allocations: 49.62 kB / 0.5946 GB, free: 17.06 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.863e-05/0.3414, allocations: 41.61 kB / 0.5947 GB, free: 17.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.726e-05/0.3414, allocations: 326.8 kB / 0.595 GB, free: 16.69 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.3416, allocations: 73.06 kB / 0.5951 GB, free: 16.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/0.3418, allocations: 103.3 kB / 0.5952 GB, free: 16.51 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003032/0.3421, allocations: 141.6 kB / 0.5953 GB, free: 16.37 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3421, allocations: 0 / 0.5953 GB, free: 16.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003951/0.3425, allocations: 214.6 kB / 0.5955 GB, free: 16.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.3425, allocations: 4 kB / 0.5955 GB, free: 16.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3425, allocations: 8.922 kB / 0.5955 GB, free: 16.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.3426, allocations: 4 kB / 0.5955 GB, free: 16.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.3428, allocations: 33.11 kB / 0.5955 GB, free: 16.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.3428, allocations: 3.984 kB / 0.5955 GB, free: 16.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.343, allocations: 26.39 kB / 0.5956 GB, free: 16.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.343, allocations: 4 kB / 0.5956 GB, free: 16.08 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 7.271e-05/0.3431, allocations: 133.7 kB / 0.5957 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.979e-05/0.3431, allocations: 15.81 kB / 0.5957 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004159/0.3435, allocations: 194.6 kB / 0.5959 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.3435, allocations: 0 / 0.5959 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3436, allocations: 3.938 kB / 0.5959 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.3436, allocations: 4 kB / 0.5959 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.3446, allocations: 0.982 MB / 0.5969 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3446, allocations: 3.984 kB / 0.5969 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.3448, allocations: 23.98 kB / 0.5969 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.3448, allocations: 4 kB / 0.5969 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.3449, allocations: 6.094 kB / 0.5969 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3449, allocations: 3.984 kB / 0.5969 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3449, allocations: 7.938 kB / 0.5969 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003805/0.3452, allocations: 289.9 kB / 0.5972 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.837e-05/0.3453, allocations: 89.92 kB / 0.5973 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.3453, allocations: 4 kB / 0.5973 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.3455, allocations: 12.55 kB / 0.5973 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.3456, allocations: 24.7 kB / 0.5973 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.3456, allocations: 10.73 kB / 0.5973 GB, free: 14.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.886e-05/0.3457, allocations: 115.2 kB / 0.5974 GB, free: 13.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3457, allocations: 0 / 0.5974 GB, free: 13.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004217/0.3461, allocations: 127.9 kB / 0.5976 GB, free: 13.85 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.0003556/0.3465, allocations: 223.1 kB / 0.5978 GB, free: 13.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004096/0.3469, allocations: 179.4 kB / 0.5979 GB, free: 13.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3469, allocations: 1.969 kB / 0.5979 GB, free: 13.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001648/0.3471, allocations: 79.91 kB / 0.598 GB, free: 13.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.3474, allocations: 49.98 kB / 0.5981 GB, free: 13.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005495/0.348, allocations: 326.6 kB / 0.5984 GB, free: 12.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001255/0.3481, allocations: 0.7141 MB / 0.5991 GB, free: 12.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001207/0.3483, allocations: 35.34 kB / 0.5991 GB, free: 12.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.688e-05/0.3483, allocations: 15.44 kB / 0.5991 GB, free: 12.21 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3483, allocations: 0 / 0.5991 GB, free: 12.21 MB / 446.1 MB Notification: Performance of Templates: time 0.006214/0.3546, allocations: 4.265 MB / 0.6033 GB, free: 8.016 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)