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.00149/0.00149, allocations: 108 kB / 15.61 MB, free: 152 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.001844/0.001844, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.551/1.551, allocations: 205.1 MB / 222.4 MB, free: 4.629 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.704/1.704, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001433/0.001433, allocations: 72.19 kB / 0.6715 GB, free: 26.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2543, allocations: 114.5 MB / 0.7834 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.004021/0.2583, allocations: 2.019 MB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002582/0.261, allocations: 1.664 MB / 0.787 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.765e-05/0.2611, allocations: 4 kB / 0.787 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.934e-05/0.2612, allocations: 15.86 kB / 0.787 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.2613, allocations: 51.55 kB / 0.787 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.2624, allocations: 362.8 kB / 0.7874 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002385/0.2627, allocations: 219.1 kB / 0.7876 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.2628, allocations: 41.47 kB / 0.7876 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.263, allocations: 91.77 kB / 0.7877 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.2631, allocations: 87.67 kB / 0.7878 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.687e-05/0.2632, allocations: 20 kB / 0.7878 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007755/0.264, allocations: 399.5 kB / 0.7882 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.577e-05/0.264, allocations: 35.91 kB / 0.7882 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.127e-05/0.2641, allocations: 91.64 kB / 0.7883 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005854/0.2647, allocations: 423.2 kB / 0.7887 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2647, allocations: 0 / 0.7887 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.484e-06/0.2647, allocations: 4 kB / 0.7887 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.2647, allocations: 0 / 0.7887 GB, free: 7.98 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.0008633/0.2656, allocations: 0.5147 MB / 0.7892 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.2657, allocations: 11.97 kB / 0.7892 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006025/0.2663, allocations: 92.66 kB / 0.7893 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.2664, allocations: 184.2 kB / 0.7895 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.025e-05/0.2665, allocations: 46.25 kB / 0.7896 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.2666, allocations: 16.38 kB / 0.7896 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004062/0.267, allocations: 186.6 kB / 0.7897 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.267, allocations: 3.938 kB / 0.7897 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.267, allocations: 4 kB / 0.7898 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-06/0.2671, allocations: 4 kB / 0.7898 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004549/0.2675, allocations: 179.9 kB / 0.7899 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/0.2689, allocations: 0.9226 MB / 0.7908 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000487/0.2694, allocations: 170.5 kB / 0.791 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.2696, allocations: 76.83 kB / 0.7911 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006815/0.2703, allocations: 0.522 MB / 0.7916 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.2703, allocations: 42.5 kB / 0.7916 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.253e-06/0.2703, allocations: 0 / 0.7916 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0007231/0.271, allocations: 233 kB / 0.7918 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.2711, allocations: 55.41 kB / 0.7919 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.2713, allocations: 157.3 kB / 0.792 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.2713, allocations: 33.7 kB / 0.7921 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.039e-05/0.2714, allocations: 115.8 kB / 0.7922 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.164e-05/0.2714, allocations: 47.3 kB / 0.7922 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.111e-05/0.2715, allocations: 41.61 kB / 0.7923 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.2717, allocations: 322.8 kB / 0.7926 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.2719, allocations: 75.95 kB / 0.7926 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.2721, allocations: 101.6 kB / 0.7927 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003682/0.2725, allocations: 148.6 kB / 0.7929 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.2725, allocations: 3.938 kB / 0.7929 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004783/0.273, allocations: 217.5 kB / 0.7931 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.273, allocations: 4 kB / 0.7931 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.273, allocations: 0 / 0.7931 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.273, allocations: 4 kB / 0.7931 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002384/0.2733, allocations: 43.97 kB / 0.7931 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.2733, allocations: 0 / 0.7931 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.2735, allocations: 19.83 kB / 0.7932 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.2735, allocations: 4 kB / 0.7932 GB, free: 3.008 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.0001198/0.2736, allocations: 141.7 kB / 0.7933 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.788e-05/0.2737, allocations: 19.75 kB / 0.7933 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005202/0.2742, allocations: 186.4 kB / 0.7935 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.2742, allocations: 3.984 kB / 0.7935 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2742, allocations: 7.938 kB / 0.7935 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.2742, allocations: 3.984 kB / 0.7935 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001427/0.2757, allocations: 0.9778 MB / 0.7945 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.2757, allocations: 4 kB / 0.7945 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.2759, allocations: 27.97 kB / 0.7945 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.2759, allocations: 0 / 0.7945 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.2759, allocations: 4 kB / 0.7945 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.2759, allocations: 0 / 0.7945 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.2759, allocations: 4 kB / 0.7945 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005033/0.2764, allocations: 293 kB / 0.7948 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.979e-05/0.2765, allocations: 92.86 kB / 0.7949 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.771e-05/0.2765, allocations: 7.984 kB / 0.7949 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.2768, allocations: 11.98 kB / 0.7949 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.2768, allocations: 23.92 kB / 0.7949 GB, free: 1 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.2768, allocations: 4 kB / 0.7949 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.762e-05/0.2769, allocations: 117.7 kB / 0.795 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2769, allocations: 0 / 0.795 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004776/0.2774, allocations: 127.9 kB / 0.7952 GB, free: 0.7578 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.0005014/0.2779, allocations: 231 kB / 0.7954 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005292/0.2785, allocations: 179.5 kB / 0.7956 GB, free: 360 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.2785, allocations: 0 / 0.7956 GB, free: 360 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002051/0.2787, allocations: 87.97 kB / 0.7956 GB, free: 272 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005004/0.2792, allocations: 43.81 kB / 0.7957 GB, free: 228 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007558/0.28, allocations: 328.7 kB / 0.796 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.2803, allocations: 0.7086 MB / 0.7967 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001477/0.2805, allocations: 32.11 kB / 0.7967 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.82e-05/0.2805, allocations: 19.44 kB / 0.7967 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.2806, allocations: 3.938 kB / 0.7967 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of Templates: time 0.00887/0.2894, allocations: 4.262 MB / 0.8009 GB, free: 10.86 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)