Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.403/1.403, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.905/2.905, allocations: 472.6 MB / 0.7451 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 65.27 kB / 0.912 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2724, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003253/0.2757, allocations: 2.032 MB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002219/0.2779, allocations: 1.664 MB / 1.072 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.007e-05/0.278, allocations: 4 kB / 1.072 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.662e-05/0.278, allocations: 19.78 kB / 1.072 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.928e-05/0.2782, allocations: 47.56 kB / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009127/0.2791, allocations: 362.8 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000216/0.2793, allocations: 219.1 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.2795, allocations: 57.23 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.2796, allocations: 79.78 kB / 1.073 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.2797, allocations: 87.72 kB / 1.073 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.528e-05/0.2798, allocations: 20 kB / 1.073 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007378/0.2805, allocations: 395.5 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.847e-05/0.2806, allocations: 47.81 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.475e-05/0.2807, allocations: 87.66 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005412/0.2812, allocations: 423.2 kB / 1.074 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2812, allocations: 4 kB / 1.074 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2813, allocations: 0 / 1.074 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.2813, allocations: 0 / 1.074 GB, free: 4.875 MB / 0.8262 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.0007608/0.282, allocations: 0.5147 MB / 1.074 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.2821, allocations: 8.031 kB / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005917/0.2827, allocations: 96.58 kB / 1.074 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.2828, allocations: 180.2 kB / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.411e-05/0.2829, allocations: 50.25 kB / 1.074 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.88e-05/0.2829, allocations: 12.38 kB / 1.074 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003955/0.2833, allocations: 186 kB / 1.075 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.2833, allocations: 7.875 kB / 1.075 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.2834, allocations: 4 kB / 1.075 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.2834, allocations: 4 kB / 1.075 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000467/0.2839, allocations: 179.9 kB / 1.075 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/0.2851, allocations: 0.9189 MB / 1.076 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005074/0.2857, allocations: 174.5 kB / 1.076 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/0.2859, allocations: 72.83 kB / 1.076 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006196/0.2865, allocations: 0.5181 MB / 1.076 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.2865, allocations: 38.56 kB / 1.076 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.2865, allocations: 0 / 1.076 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.000701/0.2873, allocations: 236.8 kB / 1.077 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.2873, allocations: 59.41 kB / 1.077 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.2874, allocations: 165.1 kB / 1.077 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.2875, allocations: 29.7 kB / 1.077 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.807e-05/0.2875, allocations: 115.8 kB / 1.077 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.106e-05/0.2876, allocations: 51.34 kB / 1.077 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.179e-05/0.2877, allocations: 33.7 kB / 1.077 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.2878, allocations: 330.8 kB / 1.077 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.288, allocations: 71.95 kB / 1.077 GB, free: 468 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.2882, allocations: 96.08 kB / 1.078 GB, free: 368 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003883/0.2886, allocations: 155.3 kB / 1.078 GB, free: 208 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.2886, allocations: 3.938 kB / 1.078 GB, free: 204 kB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005232/0.2892, allocations: 217.4 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.2892, allocations: 4 kB / 1.078 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.2892, allocations: 0 / 1.078 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.2892, allocations: 4 kB / 1.078 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002508/0.2895, allocations: 35.92 kB / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.2895, allocations: 0 / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.2897, allocations: 23.77 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.2897, allocations: 16.02 kB / 1.078 GB, free: 15.9 MB / 0.8419 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 0.0001064/0.2898, allocations: 129.7 kB / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.805e-05/0.2899, allocations: 15.81 kB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005302/0.2904, allocations: 190.4 kB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.2904, allocations: 7.984 kB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2904, allocations: 0 / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.2904, allocations: 0 / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001445/0.2919, allocations: 0.9817 MB / 1.079 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.2919, allocations: 4 kB / 1.079 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002083/0.2921, allocations: 31.97 kB / 1.079 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.2921, allocations: 0 / 1.079 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.2922, allocations: 8 kB / 1.079 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.2922, allocations: 3.938 kB / 1.079 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2922, allocations: 0 / 1.079 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004941/0.2927, allocations: 293 kB / 1.08 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.152e-05/0.2927, allocations: 96.94 kB / 1.08 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.2928, allocations: 0 / 1.08 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.293, allocations: 19.98 kB / 1.08 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.038e-05/0.2931, allocations: 15.92 kB / 1.08 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.2931, allocations: 4 kB / 1.08 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.723e-05/0.2932, allocations: 115.2 kB / 1.08 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2932, allocations: 0 / 1.08 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004331/0.2936, allocations: 135.8 kB / 1.08 GB, free: 13.65 MB / 0.8419 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.000406/0.294, allocations: 231.5 kB / 1.08 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005133/0.2945, allocations: 181.3 kB / 1.08 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2946, allocations: 4.062 kB / 1.08 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002067/0.2948, allocations: 79.91 kB / 1.08 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.2952, allocations: 39.97 kB / 1.08 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007287/0.2959, allocations: 332.7 kB / 1.081 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.2961, allocations: 0.7163 MB / 1.082 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001487/0.2963, allocations: 25.05 kB / 1.082 GB, free: 12 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.468e-05/0.2964, allocations: 19.44 kB / 1.082 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of SimCode: time 2.8e-07/0.2964, allocations: 4 kB / 1.082 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of Templates: time 0.007638/0.304, allocations: 4.276 MB / 1.086 GB, free: 7.781 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1)