Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 2.58/2.58, allocations: 287.3 MB / 302.3 MB, free: 8.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00165/0.00165, allocations: 176.7 kB / 370.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.293/2.293, allocations: 205.4 MB / 0.6295 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001171/0.001171, allocations: 93.67 kB / 0.7428 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007083/0.0007087, allocations: 12.73 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2275, allocations: 115.3 MB / 0.9783 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002363/0.2299, allocations: 1.621 MB / 0.9799 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002669/0.2326, allocations: 1.467 MB / 0.9813 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.2328, allocations: 4 kB / 0.9813 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.023e-05/0.2329, allocations: 19.84 kB / 0.9813 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00015/0.233, allocations: 55.81 kB / 0.9814 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.2342, allocations: 267.2 kB / 0.9816 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002336/0.2345, allocations: 135.8 kB / 0.9818 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.2346, allocations: 53.62 kB / 0.9818 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.2347, allocations: 59.84 kB / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.2349, allocations: 87.67 kB / 0.982 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.097e-05/0.2349, allocations: 8 kB / 0.982 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0012/0.2362, allocations: 387.5 kB / 0.9823 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.529e-05/0.2363, allocations: 31.91 kB / 0.9824 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.461e-05/0.2364, allocations: 53.64 kB / 0.9824 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.2375, allocations: 311.5 kB / 0.9827 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2375, allocations: 0 / 0.9827 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.565e-06/0.2376, allocations: 0 / 0.9827 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.2376, allocations: 0 / 0.9827 GB, free: 23.68 MB / 0.6198 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.0009393/0.2385, allocations: 0.4911 MB / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.2386, allocations: 8.031 kB / 0.9832 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.934e-05/0.2387, allocations: 54.55 kB / 0.9833 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009399/0.2396, allocations: 95.81 kB / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.2398, allocations: 186.7 kB / 0.9835 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-05/0.2399, allocations: 49.69 kB / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.325e-05/0.2399, allocations: 12 kB / 0.9836 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005956/0.2406, allocations: 189.3 kB / 0.9838 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.2406, allocations: 0 / 0.9838 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.418e-05/0.2406, allocations: 4 kB / 0.9838 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.2407, allocations: 4 kB / 0.9838 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007103/0.2414, allocations: 195.8 kB / 0.984 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001757/0.2432, allocations: 0.915 MB / 0.9848 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000799/0.244, allocations: 182.5 kB / 0.985 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008678/0.2449, allocations: 0.522 MB / 0.9855 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.2449, allocations: 34.56 kB / 0.9856 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 2.284e-06/0.2449, allocations: 0 / 0.9856 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.001096/0.246, allocations: 242.6 kB / 0.9858 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.2461, allocations: 55.36 kB / 0.9858 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.2462, allocations: 165 kB / 0.986 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.2463, allocations: 25.7 kB / 0.986 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.727e-05/0.2464, allocations: 127.8 kB / 0.9862 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.638e-05/0.2464, allocations: 51.23 kB / 0.9862 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.775e-05/0.2464, allocations: 3.938 kB / 0.9862 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.358e-05/0.2465, allocations: 326.8 kB / 0.9865 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003241/0.2468, allocations: 75.95 kB / 0.9866 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003383/0.2472, allocations: 99.56 kB / 0.9867 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003204/0.2475, allocations: 69.88 kB / 0.9868 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.2475, allocations: 3.953 kB / 0.9868 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000788/0.2483, allocations: 221.5 kB / 0.987 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.2484, allocations: 7.953 kB / 0.987 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.2484, allocations: 0 / 0.987 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.2484, allocations: 4 kB / 0.987 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004391/0.2489, allocations: 39.97 kB / 0.987 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.2489, allocations: 0 / 0.987 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003042/0.2492, allocations: 27.86 kB / 0.987 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.2493, allocations: 8 kB / 0.9871 GB, free: 18.82 MB / 0.6198 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 ($PRE.com.isOn,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001268/0.2494, allocations: 125.8 kB / 0.9872 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.432e-05/0.2495, allocations: 15.8 kB / 0.9872 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007888/0.2502, allocations: 211.5 kB / 0.9874 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.2503, allocations: 4 kB / 0.9874 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.2503, allocations: 0 / 0.9874 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.2503, allocations: 3.984 kB / 0.9874 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001959/0.2523, allocations: 0.9856 MB / 0.9884 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.2523, allocations: 8.062 kB / 0.9884 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003681/0.2527, allocations: 31.97 kB / 0.9884 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.2527, allocations: 0 / 0.9884 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.2527, allocations: 4 kB / 0.9884 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.2527, allocations: 4 kB / 0.9884 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.2528, allocations: 0 / 0.9884 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007424/0.2535, allocations: 329.5 kB / 0.9887 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.023e-05/0.2536, allocations: 92.94 kB / 0.9888 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.986e-05/0.2536, allocations: 8 kB / 0.9888 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000362/0.254, allocations: 15.98 kB / 0.9888 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.424e-05/0.2541, allocations: 15.97 kB / 0.9888 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.536e-05/0.2541, allocations: 4 kB / 0.9888 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.602e-05/0.2542, allocations: 127.9 kB / 0.989 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2542, allocations: 0 / 0.989 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006531/0.2549, allocations: 127.8 kB / 0.9891 GB, free: 16.51 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001474/0.2564, allocations: 1.115 MB / 0.9902 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007795/0.2572, allocations: 179.8 kB / 0.9904 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.2572, allocations: 4 kB / 0.9904 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003298/0.2575, allocations: 92.12 kB / 0.9904 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004406/0.258, allocations: 39.78 kB / 0.9905 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002714/0.2607, allocations: 1.205 MB / 0.9917 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001691/0.2609, allocations: 0.7203 MB / 0.9924 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002716/0.2612, allocations: 29.59 kB / 0.9924 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.2614, allocations: 43.42 kB / 0.9924 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of SimCode: time 1.012e-06/0.2614, allocations: 0 / 0.9924 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02791/0.2893, allocations: 5.608 MB / 0.9979 GB, free: 7.613 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002336/0.2896, allocations: 219.9 kB / 0.9981 GB, free: 7.375 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.98/3.269, allocations: 2.031 kB / 0.9981 GB, free: 7.375 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1)