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.001846/0.001846, allocations: 104.7 kB / 15.98 MB, free: 6.344 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.002092/0.002092, allocations: 198 kB / 16.91 MB, free: 6.184 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.432/1.432, allocations: 205.1 MB / 222.8 MB, free: 4.703 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.684/1.684, allocations: 292.3 MB / 0.5492 GB, free: 13.65 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.001348/0.001348, allocations: 65.66 kB / 0.6717 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2509, allocations: 114.5 MB / 0.7835 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003356/0.2543, allocations: 2.088 MB / 0.7856 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002205/0.2565, allocations: 1.653 MB / 0.7872 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.92e-05/0.2567, allocations: 4 kB / 0.7872 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.424e-05/0.2567, allocations: 11.91 kB / 0.7872 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.2568, allocations: 43.62 kB / 0.7872 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009593/0.2578, allocations: 315.2 kB / 0.7875 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002349/0.2581, allocations: 223.1 kB / 0.7877 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.2582, allocations: 45.48 kB / 0.7878 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.2583, allocations: 87.75 kB / 0.7879 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.2585, allocations: 87.62 kB / 0.7879 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.634e-05/0.2585, allocations: 16 kB / 0.788 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006847/0.2592, allocations: 415.5 kB / 0.7884 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.776e-05/0.2592, allocations: 39.89 kB / 0.7884 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.597e-05/0.2593, allocations: 91.66 kB / 0.7885 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003805/0.2597, allocations: 315.5 kB / 0.7888 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.2597, allocations: 7.984 kB / 0.7888 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2597, allocations: 0 / 0.7888 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.2598, allocations: 0 / 0.7888 GB, free: 8.477 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.0008127/0.2606, allocations: 0.5109 MB / 0.7893 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.2606, allocations: 8.031 kB / 0.7893 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005568/0.2612, allocations: 92.64 kB / 0.7894 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.2613, allocations: 180.2 kB / 0.7896 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.039e-05/0.2614, allocations: 50.25 kB / 0.7896 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.2614, allocations: 16.38 kB / 0.7896 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003962/0.2618, allocations: 182.6 kB / 0.7898 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.2619, allocations: 7.938 kB / 0.7898 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/0.2619, allocations: 8 kB / 0.7898 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.2619, allocations: 4 kB / 0.7898 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004282/0.2623, allocations: 175.9 kB / 0.79 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.2637, allocations: 0.9225 MB / 0.7909 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004609/0.2641, allocations: 178.5 kB / 0.7911 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.2644, allocations: 76.83 kB / 0.7911 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006464/0.265, allocations: 0.522 MB / 0.7916 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.265, allocations: 34.81 kB / 0.7917 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 2.304e-06/0.2651, allocations: 0 / 0.7917 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0006723/0.2657, allocations: 229.5 kB / 0.7919 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.2658, allocations: 55.41 kB / 0.7919 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.2659, allocations: 161.3 kB / 0.7921 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.266, allocations: 33.7 kB / 0.7921 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.404e-05/0.266, allocations: 115.8 kB / 0.7922 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.062e-05/0.2661, allocations: 51.3 kB / 0.7923 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.272e-05/0.2662, allocations: 41.61 kB / 0.7923 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.2663, allocations: 326.8 kB / 0.7926 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/0.2665, allocations: 71.95 kB / 0.7927 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/0.2667, allocations: 101.6 kB / 0.7928 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003465/0.2671, allocations: 144.2 kB / 0.7929 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.2671, allocations: 3.938 kB / 0.7929 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004657/0.2676, allocations: 221.4 kB / 0.7932 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.2676, allocations: 4 kB / 0.7932 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.2676, allocations: 0 / 0.7932 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.2676, allocations: 4 kB / 0.7932 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002518/0.2679, allocations: 35.97 kB / 0.7932 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.2679, allocations: 0 / 0.7932 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.2681, allocations: 23.83 kB / 0.7932 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.2681, allocations: 11.97 kB / 0.7932 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.0001162/0.2682, allocations: 125.8 kB / 0.7934 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.622e-05/0.2683, allocations: 19.8 kB / 0.7934 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004973/0.2688, allocations: 201.8 kB / 0.7936 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.2688, allocations: 0 / 0.7936 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.2688, allocations: 7.938 kB / 0.7936 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.2688, allocations: 3.984 kB / 0.7936 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001415/0.2702, allocations: 0.974 MB / 0.7945 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.2702, allocations: 3.984 kB / 0.7945 GB, free: 2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/0.2704, allocations: 31.97 kB / 0.7946 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.2705, allocations: 0 / 0.7946 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.2705, allocations: 8 kB / 0.7946 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.2705, allocations: 0 / 0.7946 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.2705, allocations: 3.938 kB / 0.7946 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004687/0.271, allocations: 293.1 kB / 0.7949 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.992e-05/0.271, allocations: 92.86 kB / 0.7949 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/0.2711, allocations: 7.922 kB / 0.7949 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.2713, allocations: 19.98 kB / 0.795 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.2714, allocations: 11.92 kB / 0.795 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.2714, allocations: 8 kB / 0.795 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.041e-05/0.2715, allocations: 121.7 kB / 0.7951 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2715, allocations: 0 / 0.7951 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004504/0.2719, allocations: 127.9 kB / 0.7952 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.0004372/0.2724, allocations: 223 kB / 0.7954 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004861/0.2729, allocations: 177.8 kB / 0.7956 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2729, allocations: 0 / 0.7956 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001881/0.2731, allocations: 87.83 kB / 0.7957 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004443/0.2735, allocations: 55.94 kB / 0.7957 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006643/0.2742, allocations: 394.3 kB / 0.7961 GB, free: 296 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.2745, allocations: 0.7125 MB / 0.7968 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.632e-05/0.2746, allocations: 19.44 kB / 0.7968 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of SimCode: time 3.61e-07/0.2746, allocations: 4 kB / 0.7968 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of Templates: time 0.005834/0.2804, allocations: 3.861 MB / 0.8006 GB, free: 11.7 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)