Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 105.4 kB / 15.69 MB, free: 140 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.001109/0.001109, allocations: 190.9 kB / 16.63 MB, free: 6.621 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.311/1.311, allocations: 205.1 MB / 222.5 MB, free: 4.57 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.657/1.657, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.00248/0.002481, allocations: 69.23 kB / 0.6718 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2379, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003784/0.2417, allocations: 2.03 MB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002505/0.2443, allocations: 1.66 MB / 0.7872 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001357/0.2445, allocations: 0 / 0.7872 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.05e-05/0.2446, allocations: 19.8 kB / 0.7872 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001403/0.2448, allocations: 47.55 kB / 0.7873 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.246, allocations: 362.8 kB / 0.7876 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002534/0.2462, allocations: 223.1 kB / 0.7878 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.2464, allocations: 53.23 kB / 0.7879 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.2465, allocations: 83.78 kB / 0.788 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.2467, allocations: 91.66 kB / 0.7881 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.971e-05/0.2467, allocations: 16 kB / 0.7881 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007794/0.2475, allocations: 411.5 kB / 0.7885 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.467e-05/0.2475, allocations: 39.89 kB / 0.7885 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.534e-05/0.2476, allocations: 91.64 kB / 0.7886 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005536/0.2482, allocations: 423.2 kB / 0.789 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2482, allocations: 4 kB / 0.789 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2482, allocations: 0 / 0.789 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.2482, allocations: 0 / 0.789 GB, free: 7.695 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.0007735/0.249, allocations: 0.5147 MB / 0.7895 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.2491, allocations: 12.03 kB / 0.7895 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.378e-05/0.2491, allocations: 54.67 kB / 0.7896 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000534/0.2497, allocations: 84.66 kB / 0.7897 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.2498, allocations: 188.1 kB / 0.7898 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.546e-05/0.2499, allocations: 54.2 kB / 0.7899 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.2499, allocations: 16.36 kB / 0.7899 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003863/0.2503, allocations: 186.3 kB / 0.7901 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.2503, allocations: 0 / 0.7901 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.241e-05/0.2504, allocations: 8 kB / 0.7901 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.2504, allocations: 4 kB / 0.7901 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004197/0.2508, allocations: 171.9 kB / 0.7903 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.2521, allocations: 0.9227 MB / 0.7912 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004812/0.2526, allocations: 170.6 kB / 0.7913 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001859/0.2528, allocations: 76.83 kB / 0.7914 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000595/0.2534, allocations: 0.5181 MB / 0.7919 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.2534, allocations: 34.56 kB / 0.7919 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.2534, allocations: 0 / 0.7919 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0006753/0.2541, allocations: 240.7 kB / 0.7922 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.2542, allocations: 51.41 kB / 0.7922 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.2543, allocations: 161.5 kB / 0.7924 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.2543, allocations: 33.7 kB / 0.7924 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.788e-05/0.2544, allocations: 111.8 kB / 0.7925 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.907e-05/0.2545, allocations: 55.28 kB / 0.7926 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.049e-05/0.2545, allocations: 41.61 kB / 0.7926 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.628e-05/0.2546, allocations: 322.8 kB / 0.7929 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.2548, allocations: 71.95 kB / 0.793 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.255, allocations: 100.4 kB / 0.7931 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003552/0.2554, allocations: 153.5 kB / 0.7932 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.2554, allocations: 8 kB / 0.7932 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004736/0.2559, allocations: 219.8 kB / 0.7934 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.2559, allocations: 6.5 kB / 0.7934 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.2559, allocations: 4 kB / 0.7934 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.256, allocations: 0 / 0.7934 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002384/0.2562, allocations: 35.97 kB / 0.7935 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.2562, allocations: 0 / 0.7935 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.2564, allocations: 23.83 kB / 0.7935 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.2564, allocations: 8 kB / 0.7935 GB, free: 2.66 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.0001097/0.2565, allocations: 130.4 kB / 0.7936 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.664e-05/0.2566, allocations: 19.8 kB / 0.7936 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000488/0.2571, allocations: 190.4 kB / 0.7938 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.2571, allocations: 0 / 0.7938 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.2571, allocations: 4 kB / 0.7938 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.2571, allocations: 7.984 kB / 0.7938 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001336/0.2585, allocations: 0.9817 MB / 0.7948 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2585, allocations: 0 / 0.7948 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/0.2587, allocations: 35.91 kB / 0.7948 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.2587, allocations: 4 kB / 0.7948 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.2587, allocations: 0 / 0.7948 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.2587, allocations: 4 kB / 0.7948 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2587, allocations: 0 / 0.7948 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004603/0.2592, allocations: 292.2 kB / 0.7951 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-05/0.2593, allocations: 92.86 kB / 0.7952 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.2593, allocations: 11.98 kB / 0.7952 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.2595, allocations: 7.984 kB / 0.7952 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/0.2596, allocations: 23.86 kB / 0.7953 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.2596, allocations: 8 kB / 0.7953 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.696e-05/0.2597, allocations: 117.5 kB / 0.7954 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2597, allocations: 0 / 0.7954 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004372/0.2601, allocations: 127.9 kB / 0.7955 GB, free: 424 kB / 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.0009917/0.2611, allocations: 0.9442 MB / 0.7964 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004474/0.2616, allocations: 171.8 kB / 0.7966 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.2616, allocations: 0 / 0.7966 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001896/0.2618, allocations: 83.84 kB / 0.7967 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.2622, allocations: 55.94 kB / 0.7967 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/0.2648, allocations: 2.081 MB / 0.7987 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.2651, allocations: 0.7047 MB / 0.7994 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001384/0.2652, allocations: 31.75 kB / 0.7995 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.242e-05/0.2653, allocations: 47.41 kB / 0.7995 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.2653, allocations: 0 / 0.7995 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02277/0.2881, allocations: 6.024 MB / 0.8054 GB, free: 6.309 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.743/8.031, allocations: 10.05 kB / 0.8054 GB, free: 6.305 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1)