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.001267/0.001267, allocations: 108 kB / 15.61 MB, free: 148 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.001194/0.001195, allocations: 193.9 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.46/1.46, allocations: 205.1 MB / 222.4 MB, free: 4.539 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.771/1.771, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.001441/0.001441, allocations: 71.89 kB / 0.6716 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2277, allocations: 114.5 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003537/0.2312, allocations: 2.03 MB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002521/0.2338, allocations: 1.66 MB / 0.7871 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.2339, allocations: 0 / 0.7871 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.7e-05/0.234, allocations: 23.78 kB / 0.7871 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001529/0.2342, allocations: 43.56 kB / 0.7871 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.2353, allocations: 354.8 kB / 0.7875 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002488/0.2356, allocations: 219.1 kB / 0.7877 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.2358, allocations: 53.45 kB / 0.7877 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.2359, allocations: 83.77 kB / 0.7878 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.2361, allocations: 87.67 kB / 0.7879 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.723e-05/0.2362, allocations: 23.94 kB / 0.7879 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008979/0.2371, allocations: 399.5 kB / 0.7883 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.164e-05/0.2371, allocations: 39.91 kB / 0.7883 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.2372, allocations: 87.64 kB / 0.7884 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007615/0.238, allocations: 431.2 kB / 0.7888 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.238, allocations: 0 / 0.7888 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.262e-06/0.238, allocations: 0 / 0.7888 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.076e-06/0.238, allocations: 0 / 0.7888 GB, free: 7.824 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.0009656/0.239, allocations: 0.5147 MB / 0.7893 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.2391, allocations: 12.03 kB / 0.7893 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.977e-05/0.2391, allocations: 50.73 kB / 0.7894 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006594/0.2398, allocations: 92.64 kB / 0.7895 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.24, allocations: 180.1 kB / 0.7897 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-05/0.2401, allocations: 50.25 kB / 0.7897 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.948e-05/0.2401, allocations: 12.38 kB / 0.7897 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004335/0.2405, allocations: 186.3 kB / 0.7899 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.2406, allocations: 0 / 0.7899 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.371e-05/0.2406, allocations: 8 kB / 0.7899 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.2406, allocations: 4 kB / 0.7899 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000458/0.2411, allocations: 179.8 kB / 0.7901 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001367/0.2425, allocations: 0.9265 MB / 0.791 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005328/0.243, allocations: 170.6 kB / 0.7911 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002031/0.2432, allocations: 76.77 kB / 0.7912 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007357/0.244, allocations: 0.5181 MB / 0.7917 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.244, allocations: 38.56 kB / 0.7918 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.763e-06/0.244, allocations: 0 / 0.7918 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0007372/0.2448, allocations: 233.8 kB / 0.792 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.2448, allocations: 51.41 kB / 0.792 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.2449, allocations: 161.5 kB / 0.7922 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.245, allocations: 29.7 kB / 0.7922 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.344e-05/0.2451, allocations: 119.8 kB / 0.7923 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.715e-05/0.2451, allocations: 47.3 kB / 0.7924 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.357e-05/0.2452, allocations: 41.61 kB / 0.7924 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.2453, allocations: 322.8 kB / 0.7927 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.2455, allocations: 75.89 kB / 0.7928 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002216/0.2458, allocations: 108.2 kB / 0.7929 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003849/0.2462, allocations: 145.6 kB / 0.793 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.2462, allocations: 7.938 kB / 0.793 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005307/0.2467, allocations: 220.2 kB / 0.7933 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.2467, allocations: 6.656 kB / 0.7933 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.2468, allocations: 0 / 0.7933 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.2468, allocations: 0 / 0.7933 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002588/0.247, allocations: 35.97 kB / 0.7933 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.2471, allocations: 7.938 kB / 0.7933 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.2473, allocations: 23.83 kB / 0.7933 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.2473, allocations: 7.984 kB / 0.7933 GB, free: 2.785 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.0001687/0.2475, allocations: 130.4 kB / 0.7935 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.976e-05/0.2475, allocations: 11.81 kB / 0.7935 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005508/0.2481, allocations: 202.3 kB / 0.7937 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.2481, allocations: 4 kB / 0.7937 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.2481, allocations: 0 / 0.7937 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.2481, allocations: 4 kB / 0.7937 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001463/0.2496, allocations: 0.9817 MB / 0.7946 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.2496, allocations: 0 / 0.7946 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002046/0.2498, allocations: 31.97 kB / 0.7947 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.2498, allocations: 0 / 0.7947 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.2499, allocations: 8 kB / 0.7947 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.2499, allocations: 3.938 kB / 0.7947 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2499, allocations: 0 / 0.7947 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004922/0.2504, allocations: 283.7 kB / 0.7949 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.328e-05/0.2504, allocations: 100.8 kB / 0.795 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.571e-05/0.2505, allocations: 4 kB / 0.795 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/0.2507, allocations: 15.98 kB / 0.7951 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.2508, allocations: 15.92 kB / 0.7951 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.2508, allocations: 4 kB / 0.7951 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.824e-05/0.2509, allocations: 121.5 kB / 0.7952 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2509, allocations: 7.875 kB / 0.7952 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004541/0.2513, allocations: 127.9 kB / 0.7953 GB, free: 0.5391 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.001127/0.2525, allocations: 0.9473 MB / 0.7962 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004983/0.253, allocations: 179.8 kB / 0.7964 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.253, allocations: 0 / 0.7964 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002125/0.2532, allocations: 79.91 kB / 0.7965 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004328/0.2537, allocations: 62.31 kB / 0.7966 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002967/0.2566, allocations: 2.074 MB / 0.7986 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.2569, allocations: 0.7047 MB / 0.7993 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001654/0.2571, allocations: 28.92 kB / 0.7993 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.2572, allocations: 47.41 kB / 0.7993 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of SimCode: time 4.91e-07/0.2572, allocations: 0 / 0.7993 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02354/0.2808, allocations: 5.997 MB / 0.8052 GB, free: 6.449 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.563/7.844, allocations: 11.31 kB / 0.8052 GB, free: 6.445 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)