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.0009625/0.0009626, allocations: 108 kB / 15.6 MB, free: 132 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.0009616/0.0009615, allocations: 196.2 kB / 16.54 MB, free: 6.672 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.165/1.165, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.66/1.66, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.00165/0.00165, allocations: 72.33 kB / 0.6716 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2298, 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.003167/0.233, allocations: 2.027 MB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002376/0.2354, allocations: 1.66 MB / 0.7871 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.691e-05/0.2355, allocations: 4 kB / 0.7871 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.505e-05/0.2356, allocations: 15.8 kB / 0.7871 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.2357, allocations: 51.55 kB / 0.7871 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.2367, allocations: 358.8 kB / 0.7875 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002403/0.237, allocations: 219.1 kB / 0.7877 GB, free: 9 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.2371, allocations: 45.47 kB / 0.7877 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.2373, allocations: 79.78 kB / 0.7878 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.2374, allocations: 91.66 kB / 0.7879 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.368e-05/0.2375, allocations: 16 kB / 0.7879 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008139/0.2383, allocations: 403.5 kB / 0.7883 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.387e-05/0.2384, allocations: 35.91 kB / 0.7883 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.577e-05/0.2385, allocations: 91.64 kB / 0.7884 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006246/0.2391, allocations: 427.2 kB / 0.7888 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2391, allocations: 0 / 0.7888 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2391, allocations: 0 / 0.7888 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.2391, allocations: 0 / 0.7888 GB, free: 7.832 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.000804/0.2399, allocations: 0.5147 MB / 0.7893 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.24, allocations: 8.031 kB / 0.7893 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.346e-05/0.24, allocations: 58.67 kB / 0.7894 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005666/0.2406, allocations: 88.64 kB / 0.7895 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.2408, allocations: 192 kB / 0.7897 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.003e-05/0.2409, allocations: 46.27 kB / 0.7897 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.592e-05/0.2409, allocations: 16.38 kB / 0.7897 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004146/0.2413, allocations: 186.3 kB / 0.7899 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.2413, allocations: 0 / 0.7899 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/0.2414, allocations: 8 kB / 0.7899 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.2414, allocations: 4 kB / 0.7899 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004565/0.2419, allocations: 179.9 kB / 0.7901 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/0.2432, allocations: 0.9226 MB / 0.791 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004986/0.2438, allocations: 162.6 kB / 0.7911 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002093/0.244, allocations: 88.75 kB / 0.7912 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006702/0.2447, allocations: 0.5181 MB / 0.7917 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.2447, allocations: 34.56 kB / 0.7918 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.863e-06/0.2447, allocations: 4 kB / 0.7918 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0007553/0.2455, allocations: 237.7 kB / 0.792 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/0.2455, allocations: 51.41 kB / 0.792 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.2457, allocations: 161.5 kB / 0.7922 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.2457, allocations: 25.7 kB / 0.7922 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.111e-05/0.2458, allocations: 115.8 kB / 0.7923 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.596e-05/0.2458, allocations: 55.3 kB / 0.7924 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.849e-05/0.2459, allocations: 37.61 kB / 0.7924 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.246, allocations: 326.8 kB / 0.7927 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.2463, allocations: 71.95 kB / 0.7928 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002603/0.2465, allocations: 96.38 kB / 0.7929 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004074/0.2469, allocations: 157.5 kB / 0.793 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.247, allocations: 0 / 0.793 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005154/0.2475, allocations: 211.8 kB / 0.7932 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.2475, allocations: 4 kB / 0.7933 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2475, allocations: 8.031 kB / 0.7933 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.2475, allocations: 0 / 0.7933 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002761/0.2478, allocations: 39.97 kB / 0.7933 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.2478, allocations: 0 / 0.7933 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/0.2481, allocations: 23.83 kB / 0.7933 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.2481, allocations: 12 kB / 0.7933 GB, free: 2.789 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.0001148/0.2482, allocations: 126.4 kB / 0.7935 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.695e-05/0.2483, allocations: 19.81 kB / 0.7935 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005419/0.2488, allocations: 197.5 kB / 0.7937 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.2488, allocations: 0 / 0.7937 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.2488, allocations: 4 kB / 0.7937 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.2488, allocations: 3.984 kB / 0.7937 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001557/0.2504, allocations: 0.9894 MB / 0.7946 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.2504, allocations: 0 / 0.7946 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/0.2506, allocations: 28.05 kB / 0.7947 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-06/0.2507, allocations: 4 kB / 0.7947 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.2507, allocations: 7.984 kB / 0.7947 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.2507, allocations: 4 kB / 0.7947 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2507, allocations: 0 / 0.7947 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005146/0.2512, allocations: 285 kB / 0.7949 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.756e-05/0.2513, allocations: 96.86 kB / 0.795 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.556e-05/0.2513, allocations: 4 kB / 0.795 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.2515, allocations: 15.97 kB / 0.7951 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.2516, allocations: 15.92 kB / 0.7951 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.2516, allocations: 4 kB / 0.7951 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.475e-05/0.2517, allocations: 121.5 kB / 0.7952 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2517, allocations: 4 kB / 0.7952 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004717/0.2522, allocations: 123.9 kB / 0.7953 GB, free: 0.5469 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.001131/0.2533, allocations: 0.9519 MB / 0.7962 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005149/0.2539, allocations: 175.8 kB / 0.7964 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2539, allocations: 0 / 0.7964 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002276/0.2541, allocations: 87.89 kB / 0.7965 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004812/0.2546, allocations: 52.88 kB / 0.7965 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003059/0.2577, allocations: 2.07 MB / 0.7986 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.258, allocations: 0.7086 MB / 0.7993 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001581/0.2581, allocations: 31.55 kB / 0.7993 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.999e-05/0.2582, allocations: 43.42 kB / 0.7993 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of SimCode: time 6.32e-07/0.2582, allocations: 0 / 0.7993 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3081/0.5664, allocations: 6.015 MB / 0.8052 GB, free: 6.445 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.928/8.494, allocations: 4.5 kB / 0.8052 GB, free: 6.441 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput_fmu --startTime=0 --stopTime=100 --timeout=50 --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)