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.001172/0.001172, allocations: 105.3 kB / 16.36 MB, free: 6.309 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.001061/0.001061, allocations: 192.1 kB / 17.29 MB, free: 5.875 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.343/1.343, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.738/1.738, allocations: 292.3 MB / 0.5496 GB, free: 17.46 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.001407/0.001407, allocations: 75.25 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2463, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003645/0.25, allocations: 2.04 MB / 0.7868 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4259/0.6759, allocations: 1.645 MB / 0.7884 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.6761, allocations: 6.938 kB / 0.7884 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 6.658e-05/0.6763, allocations: 15.19 kB / 0.7884 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.6764, allocations: 50.53 kB / 0.7884 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.6775, allocations: 352.3 kB / 0.7888 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000222/0.6777, allocations: 226.8 kB / 0.789 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.6779, allocations: 49.53 kB / 0.789 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.678, allocations: 82.08 kB / 0.7891 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.6781, allocations: 86.59 kB / 0.7892 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.653e-05/0.6781, allocations: 19.5 kB / 0.7892 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006686/0.6788, allocations: 411.2 kB / 0.7896 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.711e-05/0.6789, allocations: 43.88 kB / 0.7897 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.004e-05/0.679, allocations: 88.42 kB / 0.7897 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000505/0.6795, allocations: 425.7 kB / 0.7902 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.922e-06/0.6795, allocations: 0 / 0.7902 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.887e-06/0.6795, allocations: 4.422 kB / 0.7902 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.196e-05/0.6795, allocations: 0 / 0.7902 GB, free: 46.42 MB / 0.6544 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.0007418/0.6803, allocations: 0.5175 MB / 0.7907 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.6803, allocations: 9.594 kB / 0.7907 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000544/0.6809, allocations: 95.36 kB / 0.7908 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.731e-05/0.681, allocations: 179 kB / 0.7909 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.996e-05/0.681, allocations: 49.31 kB / 0.791 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.6811, allocations: 19.5 kB / 0.791 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003634/0.6814, allocations: 180.1 kB / 0.7912 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.6815, allocations: 3.938 kB / 0.7912 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/0.6815, allocations: 10.5 kB / 0.7912 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.6815, allocations: 2.625 kB / 0.7912 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004028/0.6819, allocations: 180.9 kB / 0.7914 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.6831, allocations: 0.9083 MB / 0.7922 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004593/0.6835, allocations: 173.3 kB / 0.7924 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.6837, allocations: 81.75 kB / 0.7925 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000515/0.6842, allocations: 0.516 MB / 0.793 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.6843, allocations: 38.95 kB / 0.793 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/0.6843, allocations: 0.5938 kB / 0.793 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.0006479/0.6849, allocations: 239.8 kB / 0.7933 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.314e-05/0.685, allocations: 52.5 kB / 0.7933 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.6851, allocations: 158.8 kB / 0.7935 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.6851, allocations: 32.55 kB / 0.7935 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.097e-05/0.6852, allocations: 124.6 kB / 0.7936 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/0.6852, allocations: 42.8 kB / 0.7937 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.293e-05/0.6853, allocations: 44.36 kB / 0.7937 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.639e-05/0.6853, allocations: 327.4 kB / 0.794 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.6855, allocations: 72.81 kB / 0.7941 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.6857, allocations: 103.5 kB / 0.7942 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003289/0.6861, allocations: 142.2 kB / 0.7943 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.6861, allocations: 4.438 kB / 0.7943 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004413/0.6865, allocations: 215.1 kB / 0.7945 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.6865, allocations: 3.406 kB / 0.7945 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.6866, allocations: 0 / 0.7945 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.6866, allocations: 6.969 kB / 0.7945 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.6868, allocations: 36.97 kB / 0.7946 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.6868, allocations: 0 / 0.7946 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.687, allocations: 26.95 kB / 0.7946 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.687, allocations: 6.156 kB / 0.7946 GB, free: 43.62 MB / 0.6544 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 8.885e-05/0.6871, allocations: 129.8 kB / 0.7947 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.218e-05/0.6872, allocations: 18.31 kB / 0.7947 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004799/0.6877, allocations: 201.1 kB / 0.7949 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.6877, allocations: 2.625 kB / 0.7949 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.6877, allocations: 0 / 0.7949 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.6877, allocations: 0.5 kB / 0.7949 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/0.6889, allocations: 0.9843 MB / 0.7959 GB, free: 42.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.6889, allocations: 1.75 kB / 0.7959 GB, free: 42.67 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.6891, allocations: 31.45 kB / 0.7959 GB, free: 42.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.6891, allocations: 9.125 kB / 0.7959 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.6891, allocations: 0 / 0.7959 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.6891, allocations: 7.188 kB / 0.7959 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.6891, allocations: 2.062 kB / 0.7959 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004144/0.6896, allocations: 291.1 kB / 0.7962 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.478e-05/0.6896, allocations: 91.92 kB / 0.7963 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.087e-05/0.6896, allocations: 3.312 kB / 0.7963 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.6899, allocations: 13.72 kB / 0.7963 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.6899, allocations: 15.55 kB / 0.7963 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.6899, allocations: 6.812 kB / 0.7963 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.753e-05/0.69, allocations: 114.7 kB / 0.7965 GB, free: 42.32 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.69, allocations: 11.34 kB / 0.7965 GB, free: 42.32 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004442/0.6904, allocations: 131.1 kB / 0.7966 GB, free: 42.3 MB / 0.6544 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.0003732/0.6908, allocations: 228.7 kB / 0.7968 GB, free: 42.18 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000465/0.6913, allocations: 169 kB / 0.797 GB, free: 42.18 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.6913, allocations: 3.438 kB / 0.797 GB, free: 42.18 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.6915, allocations: 78.2 kB / 0.797 GB, free: 42.18 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.6919, allocations: 47.69 kB / 0.7971 GB, free: 42.18 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006161/0.6925, allocations: 340.9 kB / 0.7974 GB, free: 41.97 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001422/0.6926, allocations: 0.7129 MB / 0.7981 GB, free: 41.27 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.005e-05/0.6927, allocations: 21.25 kB / 0.7981 GB, free: 41.27 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.6927, allocations: 0 / 0.7981 GB, free: 41.27 MB / 0.6544 GB Notification: Performance of Templates: time 0.006755/0.6995, allocations: 3.864 MB / 0.8019 GB, free: 40.97 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (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)