Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="BuildingSystems_BuildingSystems_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.001495/0.001495, allocations: 112.5 kB / 15.73 MB, free: 76 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.001481/0.001481, allocations: 189.8 kB / 16.67 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002354/0.002354, allocations: 278.8 kB / 290.8 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9902/0.9902, allocations: 178.6 MB / 0.5074 GB, free: 4.5 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002563/0.002563, allocations: 104.4 kB / 0.6943 GB, free: 3.613 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4248/0.4273, allocations: 89.12 MB / 0.7813 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003099/0.4305, allocations: 2.024 MB / 0.7833 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002363/0.4329, allocations: 1.664 MB / 0.7849 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.572e-05/0.4329, allocations: 1.469 kB / 0.7849 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.119e-05/0.433, allocations: 16.69 kB / 0.7849 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.4331, allocations: 49.23 kB / 0.785 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009308/0.4341, allocations: 366 kB / 0.7853 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002359/0.4343, allocations: 226.4 kB / 0.7855 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.4344, allocations: 41.88 kB / 0.7856 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.4345, allocations: 84.92 kB / 0.7857 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.4347, allocations: 88.22 kB / 0.7857 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.114e-05/0.4347, allocations: 17.81 kB / 0.7858 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000808/0.4356, allocations: 415.6 kB / 0.7862 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.825e-05/0.4356, allocations: 37.94 kB / 0.7862 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.636e-05/0.4357, allocations: 86.06 kB / 0.7863 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006731/0.4364, allocations: 433.7 kB / 0.7867 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.4364, allocations: 0.5156 kB / 0.7867 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.424e-06/0.4364, allocations: 1.281 kB / 0.7867 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.4364, allocations: 4 kB / 0.7867 GB, free: 10.48 MB / 0.5606 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.0008614/0.4373, allocations: 0.5173 MB / 0.7872 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.4373, allocations: 9.531 kB / 0.7872 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.17e-05/0.4374, allocations: 52.11 kB / 0.7873 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005651/0.438, allocations: 89.38 kB / 0.7873 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.4381, allocations: 186.9 kB / 0.7875 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.083e-05/0.4382, allocations: 49.94 kB / 0.7876 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.264e-05/0.4383, allocations: 14.03 kB / 0.7876 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000437/0.4387, allocations: 191.8 kB / 0.7878 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.4387, allocations: 0 / 0.7878 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.4388, allocations: 6.188 kB / 0.7878 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.4388, allocations: 3 kB / 0.7878 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004648/0.4393, allocations: 179.4 kB / 0.788 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.4407, allocations: 0.9221 MB / 0.7889 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005015/0.4412, allocations: 171.9 kB / 0.789 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/0.4414, allocations: 82.8 kB / 0.7891 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006505/0.4421, allocations: 0.5191 MB / 0.7896 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.4421, allocations: 32.94 kB / 0.7896 GB, free: 8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.4421, allocations: 4 kB / 0.7896 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0008168/0.4429, allocations: 227.1 kB / 0.7899 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.443, allocations: 53.19 kB / 0.7899 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.4432, allocations: 156.1 kB / 0.7901 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.4432, allocations: 31.33 kB / 0.7901 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.085e-05/0.4433, allocations: 118.9 kB / 0.7902 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.371e-05/0.4434, allocations: 54.11 kB / 0.7902 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.436e-05/0.4435, allocations: 46.16 kB / 0.7903 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.4436, allocations: 322.5 kB / 0.7906 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.4439, allocations: 70.94 kB / 0.7907 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002477/0.4441, allocations: 92.83 kB / 0.7908 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004228/0.4445, allocations: 158.2 kB / 0.7909 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4446, allocations: 0.6562 kB / 0.7909 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005061/0.4451, allocations: 218.5 kB / 0.7911 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.4451, allocations: 5.703 kB / 0.7911 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.4451, allocations: 4.031 kB / 0.7911 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.4451, allocations: 5.625 kB / 0.7911 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.4454, allocations: 39.53 kB / 0.7912 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.4454, allocations: 1.875 kB / 0.7912 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.4456, allocations: 24.97 kB / 0.7912 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.4456, allocations: 5.859 kB / 0.7912 GB, free: 6.914 MB / 0.5606 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.0001077/0.4457, allocations: 128.6 kB / 0.7913 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.334e-05/0.4457, allocations: 19.39 kB / 0.7913 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005089/0.4463, allocations: 197.1 kB / 0.7915 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.4463, allocations: 1.125 kB / 0.7915 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.4463, allocations: 1.375 kB / 0.7915 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.4463, allocations: 0.75 kB / 0.7915 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/0.4477, allocations: 0.9868 MB / 0.7925 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.4477, allocations: 1.734 kB / 0.7925 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/0.4479, allocations: 35.81 kB / 0.7925 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.4479, allocations: 1.656 kB / 0.7925 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.448, allocations: 7.125 kB / 0.7925 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.448, allocations: 2.047 kB / 0.7925 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.448, allocations: 0.9688 kB / 0.7925 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004991/0.4485, allocations: 294.7 kB / 0.7928 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.695e-05/0.4485, allocations: 90.44 kB / 0.7929 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.043e-05/0.4486, allocations: 1.188 kB / 0.7929 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.4488, allocations: 17.94 kB / 0.7929 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.4488, allocations: 12.53 kB / 0.7929 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.4489, allocations: 8.672 kB / 0.7929 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.611e-05/0.449, allocations: 128 kB / 0.7931 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.449, allocations: 0 / 0.7931 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004594/0.4494, allocations: 126.2 kB / 0.7932 GB, free: 5.316 MB / 0.5606 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.001088/0.4505, allocations: 0.9451 MB / 0.7941 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004711/0.451, allocations: 180.6 kB / 0.7943 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.451, allocations: 0 / 0.7943 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002042/0.4512, allocations: 82.06 kB / 0.7944 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.4516, allocations: 58.45 kB / 0.7944 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002784/0.4544, allocations: 2.071 MB / 0.7964 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.4547, allocations: 0.7111 MB / 0.7971 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001394/0.4549, allocations: 33.89 kB / 0.7972 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.802e-05/0.455, allocations: 42.75 kB / 0.7972 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.455, allocations: 0 / 0.7972 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02781/0.4828, allocations: 6.088 MB / 0.8032 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.813/8.296, allocations: 13.89 kB / 0.8032 GB, free: 15.49 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1)