Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0009989/0.0009988, allocations: 96.62 kB / 15.36 MB, free: 0.7344 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.008852/0.008852, allocations: 169.8 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.733/1.733, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.67/1.67, allocations: 292.7 MB / 0.5502 GB, free: 14.5 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005049/0.0005049, allocations: 18.78 kB / 0.6743 GB, free: 25.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2504, allocations: 116.3 MB / 0.7879 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002647/0.2531, allocations: 1.737 MB / 0.7896 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002473/0.2556, allocations: 1.712 MB / 0.7912 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.912e-05/0.2557, allocations: 0 / 0.7912 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.969e-05/0.2557, allocations: 11.92 kB / 0.7913 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.2558, allocations: 47.61 kB / 0.7913 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008141/0.2567, allocations: 291.2 kB / 0.7916 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002419/0.2569, allocations: 207.2 kB / 0.7918 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.2571, allocations: 45.45 kB / 0.7918 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.2572, allocations: 75.72 kB / 0.7919 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.2573, allocations: 79.67 kB / 0.792 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.2574, allocations: 12 kB / 0.792 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007085/0.2581, allocations: 387.5 kB / 0.7923 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.575e-05/0.2581, allocations: 31.91 kB / 0.7924 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.566e-05/0.2582, allocations: 105.3 kB / 0.7925 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005445/0.2588, allocations: 423.2 kB / 0.7929 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2588, allocations: 0 / 0.7929 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2588, allocations: 4 kB / 0.7929 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.2588, allocations: 0 / 0.7929 GB, free: 6.449 MB / 0.6075 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.0008184/0.2596, allocations: 495.1 kB / 0.7934 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.2597, allocations: 12.03 kB / 0.7934 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005728/0.2603, allocations: 92.75 kB / 0.7935 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.2604, allocations: 188 kB / 0.7936 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.718e-05/0.2605, allocations: 50.25 kB / 0.7937 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.2605, allocations: 16.38 kB / 0.7937 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004009/0.2609, allocations: 185.9 kB / 0.7939 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.261, allocations: 7.938 kB / 0.7939 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.261, allocations: 8 kB / 0.7939 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.261, allocations: 4 kB / 0.7939 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004882/0.2615, allocations: 184.5 kB / 0.7941 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/0.2629, allocations: 0.911 MB / 0.795 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005307/0.2634, allocations: 190.5 kB / 0.7951 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002461/0.2637, allocations: 80.83 kB / 0.7952 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006934/0.2644, allocations: 0.522 MB / 0.7957 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.2644, allocations: 34.56 kB / 0.7958 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/0.2645, allocations: 3.938 kB / 0.7958 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0007898/0.2652, allocations: 264.5 kB / 0.796 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.2653, allocations: 51.41 kB / 0.7961 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.2654, allocations: 158.5 kB / 0.7962 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.2655, allocations: 33.7 kB / 0.7963 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.463e-05/0.2656, allocations: 115.8 kB / 0.7964 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.137e-05/0.2656, allocations: 47.3 kB / 0.7964 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.506e-05/0.2656, allocations: 21.7 kB / 0.7964 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.2658, allocations: 326.8 kB / 0.7967 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.266, allocations: 71.97 kB / 0.7968 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/0.2662, allocations: 105.6 kB / 0.7969 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003733/0.2666, allocations: 156.5 kB / 0.7971 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.2666, allocations: 3.938 kB / 0.7971 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005083/0.2671, allocations: 221.4 kB / 0.7973 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.2672, allocations: 4 kB / 0.7973 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.2672, allocations: 0 / 0.7973 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.2672, allocations: 12.02 kB / 0.7973 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/0.2675, allocations: 39.92 kB / 0.7973 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.2675, allocations: 7.984 kB / 0.7973 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.2677, allocations: 23.83 kB / 0.7974 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.2677, allocations: 8 kB / 0.7974 GB, free: 1.434 MB / 0.6075 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.0001149/0.2678, allocations: 129.7 kB / 0.7975 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.999e-05/0.2679, allocations: 15.91 kB / 0.7975 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005134/0.2684, allocations: 198.4 kB / 0.7977 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.2684, allocations: 4 kB / 0.7977 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.2684, allocations: 4 kB / 0.7977 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2684, allocations: 3.938 kB / 0.7977 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/0.2699, allocations: 0.9895 MB / 0.7987 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.2699, allocations: 0 / 0.7987 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/0.2701, allocations: 35.91 kB / 0.7987 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.2701, allocations: 4 kB / 0.7987 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.2701, allocations: 0 / 0.7987 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.2701, allocations: 4.062 kB / 0.7987 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.2701, allocations: 7.984 kB / 0.7987 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004951/0.2706, allocations: 303.9 kB / 0.799 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 4.981e-05/0.2707, allocations: 92.95 kB / 0.7991 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.2707, allocations: 7.984 kB / 0.7991 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/0.2709, allocations: 15.98 kB / 0.7991 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.271, allocations: 11.92 kB / 0.7991 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/0.271, allocations: 8 kB / 0.7991 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 8.645e-05/0.2711, allocations: 125.7 kB / 0.7993 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2711, allocations: 0 / 0.7993 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004585/0.2716, allocations: 127.8 kB / 0.7994 GB, free: 15.16 MB / 0.6231 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.0004096/0.272, allocations: 227 kB / 0.7996 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004619/0.2725, allocations: 182.3 kB / 0.7998 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.2725, allocations: 0 / 0.7998 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002121/0.2727, allocations: 91.95 kB / 0.7999 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.2731, allocations: 35.84 kB / 0.7999 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006643/0.2738, allocations: 397.9 kB / 0.8003 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.2741, allocations: 0.705 MB / 0.801 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001435/0.2742, allocations: 29.3 kB / 0.801 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.598e-05/0.2743, allocations: 19.44 kB / 0.801 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of SimCode: time 1.643e-06/0.2743, allocations: 4 kB / 0.801 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of Templates: time 0.007732/0.2821, allocations: 4.145 MB / 0.8051 GB, free: 9.324 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) Environment - environmentSimulation: