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.001451/0.001451, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001745/0.001745, allocations: 194 kB / 16.14 MB, free: 6.652 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.585/1.585, allocations: 205.1 MB / 222 MB, free: 4.77 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.722/1.722, allocations: 292.2 MB / 0.5484 GB, free: 13.66 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.001354/0.001354, allocations: 66.97 kB / 0.6708 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2723, allocations: 114.5 MB / 0.7827 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003695/0.276, allocations: 2.091 MB / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002727/0.2788, allocations: 1.743 MB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.912e-05/0.2789, allocations: 4 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.631e-05/0.2789, allocations: 7.922 kB / 0.7864 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.2791, allocations: 47.61 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.2801, allocations: 291.2 kB / 0.7867 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002449/0.2804, allocations: 215.1 kB / 0.7869 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.2806, allocations: 41.47 kB / 0.787 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.2807, allocations: 67.78 kB / 0.7871 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.2808, allocations: 87.66 kB / 0.7871 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.087e-05/0.2809, allocations: 12 kB / 0.7871 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007856/0.2817, allocations: 395.5 kB / 0.7875 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.095e-05/0.2817, allocations: 31.91 kB / 0.7876 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.014e-05/0.2818, allocations: 83.64 kB / 0.7876 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005804/0.2824, allocations: 427.2 kB / 0.788 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2824, allocations: 0 / 0.788 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2824, allocations: 0 / 0.788 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.2824, allocations: 4 kB / 0.788 GB, free: 8.48 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.0008678/0.2833, allocations: 0.5147 MB / 0.7885 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.2834, allocations: 8.031 kB / 0.7886 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005879/0.284, allocations: 92.66 kB / 0.7886 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.2842, allocations: 184.2 kB / 0.7888 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.123e-05/0.2843, allocations: 46.25 kB / 0.7889 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.219e-05/0.2843, allocations: 16.38 kB / 0.7889 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004324/0.2847, allocations: 178 kB / 0.7891 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.2848, allocations: 7.938 kB / 0.7891 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.692e-05/0.2848, allocations: 8 kB / 0.7891 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.946e-06/0.2848, allocations: 4 kB / 0.7891 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000447/0.2853, allocations: 180.4 kB / 0.7892 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001514/0.2868, allocations: 0.9304 MB / 0.7901 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005132/0.2873, allocations: 170.5 kB / 0.7903 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001964/0.2875, allocations: 80.83 kB / 0.7904 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007891/0.2883, allocations: 0.522 MB / 0.7909 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.2884, allocations: 30.56 kB / 0.7909 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/0.2884, allocations: 7.938 kB / 0.7909 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0007512/0.2891, allocations: 240.9 kB / 0.7912 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.2892, allocations: 51.41 kB / 0.7912 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.2894, allocations: 157.5 kB / 0.7914 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/0.2894, allocations: 29.7 kB / 0.7914 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.2895, allocations: 127.7 kB / 0.7915 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.272e-05/0.2896, allocations: 43.3 kB / 0.7916 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.742e-05/0.2896, allocations: 41.61 kB / 0.7916 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.2898, allocations: 322.8 kB / 0.7919 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/0.29, allocations: 75.95 kB / 0.792 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/0.2902, allocations: 97.62 kB / 0.7921 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003831/0.2906, allocations: 148.4 kB / 0.7922 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.2906, allocations: 3.938 kB / 0.7922 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004969/0.2911, allocations: 209.4 kB / 0.7924 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.2912, allocations: 8 kB / 0.7924 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.2912, allocations: 4.031 kB / 0.7924 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.2912, allocations: 0 / 0.7924 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/0.2915, allocations: 39.91 kB / 0.7925 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.2915, allocations: 4 kB / 0.7925 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000184/0.2917, allocations: 23.83 kB / 0.7925 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.2917, allocations: 4 kB / 0.7925 GB, free: 3.5 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.0001634/0.2919, allocations: 130.4 kB / 0.7926 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.837e-05/0.2919, allocations: 19.81 kB / 0.7926 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005373/0.2925, allocations: 190.4 kB / 0.7928 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.2925, allocations: 4 kB / 0.7928 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.2925, allocations: 0 / 0.7928 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.2925, allocations: 3.984 kB / 0.7928 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001503/0.294, allocations: 0.9856 MB / 0.7938 GB, free: 2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.294, allocations: 4.062 kB / 0.7938 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001979/0.2942, allocations: 35.91 kB / 0.7938 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.2943, allocations: 0 / 0.7938 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.2943, allocations: 0 / 0.7938 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.2943, allocations: 4 kB / 0.7938 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.2943, allocations: 4 kB / 0.7938 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005175/0.2948, allocations: 285 kB / 0.7941 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.17e-05/0.2949, allocations: 92.86 kB / 0.7942 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/0.2949, allocations: 11.98 kB / 0.7942 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/0.2952, allocations: 11.98 kB / 0.7942 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.2952, allocations: 19.86 kB / 0.7942 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.2952, allocations: 4 kB / 0.7942 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.995e-05/0.2953, allocations: 125.5 kB / 0.7944 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2953, allocations: 0 / 0.7944 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005076/0.2959, allocations: 127.8 kB / 0.7945 GB, free: 1.25 MB / 0.6075 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.0005222/0.2964, allocations: 227 kB / 0.7947 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004769/0.2969, allocations: 171.9 kB / 0.7949 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.2969, allocations: 0 / 0.7949 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.2971, allocations: 84.08 kB / 0.7949 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004636/0.2976, allocations: 43.84 kB / 0.795 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007429/0.2983, allocations: 373.7 kB / 0.7953 GB, free: 344 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.2986, allocations: 0.705 MB / 0.796 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001657/0.2988, allocations: 32.66 kB / 0.7961 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.451e-05/0.2989, allocations: 23.42 kB / 0.7961 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of SimCode: time 3.8e-07/0.2989, allocations: 0 / 0.7961 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of Templates: time 0.01048/0.3094, allocations: 4.143 MB / 0.8001 GB, free: 11.45 MB / 0.6231 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)