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.006286/0.006286, allocations: 101 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 183.8 kB / 16.67 MB, free: 5.977 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002335/0.002335, allocations: 287.1 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9572/0.9572, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002839/0.002839, allocations: 95.97 kB / 0.681 GB, free: 12 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1944, allocations: 86.98 MB / 0.7659 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003401/0.1978, allocations: 2.008 MB / 0.7679 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003257/0.2011, allocations: 1.656 MB / 0.7695 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001468/0.2013, allocations: 0 / 0.7695 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.672e-05/0.2014, allocations: 19.84 kB / 0.7695 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001714/0.2016, allocations: 47.56 kB / 0.7695 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001337/0.2029, allocations: 354.8 kB / 0.7699 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002806/0.2032, allocations: 231 kB / 0.7701 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.2034, allocations: 57.67 kB / 0.7701 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.2036, allocations: 79.83 kB / 0.7702 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.2038, allocations: 87.67 kB / 0.7703 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.743e-05/0.2038, allocations: 20 kB / 0.7703 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008632/0.2047, allocations: 415.5 kB / 0.7707 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.096e-05/0.2048, allocations: 39.91 kB / 0.7708 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.532e-05/0.2049, allocations: 87.66 kB / 0.7708 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007664/0.2056, allocations: 426.9 kB / 0.7713 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2056, allocations: 0 / 0.7713 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.214e-06/0.2057, allocations: 0 / 0.7713 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.2057, allocations: 0 / 0.7713 GB, free: 3.441 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.000997/0.2067, allocations: 0.5186 MB / 0.7718 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.2067, allocations: 12.03 kB / 0.7718 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.772e-05/0.2068, allocations: 50.73 kB / 0.7718 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005743/0.2074, allocations: 92.64 kB / 0.7719 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.2075, allocations: 180.2 kB / 0.7721 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.929e-05/0.2076, allocations: 50.25 kB / 0.7721 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.914e-05/0.2077, allocations: 16.31 kB / 0.7721 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004291/0.2081, allocations: 187.7 kB / 0.7723 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.2081, allocations: 0 / 0.7723 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.2082, allocations: 8 kB / 0.7723 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.2082, allocations: 4 kB / 0.7723 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004282/0.2086, allocations: 187.7 kB / 0.7725 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/0.21, allocations: 0.8993 MB / 0.7734 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004628/0.2105, allocations: 174.6 kB / 0.7736 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.2107, allocations: 84.75 kB / 0.7736 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006593/0.2114, allocations: 0.5259 MB / 0.7742 GB, free: 116 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.2114, allocations: 30.56 kB / 0.7742 GB, free: 76 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/0.2114, allocations: 3.938 kB / 0.7742 GB, free: 72 kB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.3013/0.5128, allocations: 228 kB / 0.7744 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.247e-05/0.5128, allocations: 54.56 kB / 0.7745 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.5129, allocations: 158.2 kB / 0.7746 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.513, allocations: 31.45 kB / 0.7746 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.69e-05/0.513, allocations: 116.3 kB / 0.7747 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.749e-05/0.5131, allocations: 48.05 kB / 0.7748 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.868e-05/0.5132, allocations: 40.12 kB / 0.7748 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.752e-05/0.5132, allocations: 324.1 kB / 0.7751 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.5134, allocations: 73.12 kB / 0.7752 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/0.5136, allocations: 99.08 kB / 0.7753 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003572/0.514, allocations: 149 kB / 0.7754 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.514, allocations: 1.531 kB / 0.7754 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004723/0.5145, allocations: 216.4 kB / 0.7757 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.5145, allocations: 9.188 kB / 0.7757 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.5145, allocations: 5.453 kB / 0.7757 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.5146, allocations: 1.562 kB / 0.7757 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/0.5148, allocations: 39.19 kB / 0.7757 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.5148, allocations: 5.906 kB / 0.7757 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.515, allocations: 21.06 kB / 0.7757 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.515, allocations: 9.953 kB / 0.7757 GB, free: 14.23 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 7.769e-05/0.5151, allocations: 120.5 kB / 0.7759 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.533e-05/0.5152, allocations: 17.53 kB / 0.7759 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004721/0.5156, allocations: 206.5 kB / 0.7761 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.5157, allocations: 4.359 kB / 0.7761 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.5157, allocations: 0.6094 kB / 0.7761 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.5157, allocations: 2.516 kB / 0.7761 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/0.5169, allocations: 0.9764 MB / 0.777 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.5169, allocations: 1.281 kB / 0.777 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.5171, allocations: 30.88 kB / 0.7771 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.5171, allocations: 2.172 kB / 0.7771 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.5171, allocations: 4.516 kB / 0.7771 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.5172, allocations: 1.562 kB / 0.7771 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.5172, allocations: 0.7188 kB / 0.7771 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004149/0.5176, allocations: 298.1 kB / 0.7774 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.798e-05/0.5176, allocations: 89.73 kB / 0.7774 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.163e-05/0.5177, allocations: 3.078 kB / 0.7774 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.5179, allocations: 18.8 kB / 0.7775 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.5179, allocations: 11.19 kB / 0.7775 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.5179, allocations: 10.31 kB / 0.7775 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.396e-05/0.518, allocations: 117 kB / 0.7776 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.518, allocations: 1.25 kB / 0.7776 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004455/0.5185, allocations: 131.7 kB / 0.7777 GB, free: 12.94 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.000898/0.5194, allocations: 0.9479 MB / 0.7786 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004442/0.5198, allocations: 180.7 kB / 0.7788 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.5198, allocations: 0 / 0.7788 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002016/0.52, allocations: 85.58 kB / 0.7789 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.5205, allocations: 50.62 kB / 0.7789 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002442/0.5229, allocations: 2.076 MB / 0.781 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/0.5231, allocations: 0.7082 MB / 0.7817 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001568/0.5232, allocations: 32.06 kB / 0.7817 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.31e-05/0.5233, allocations: 42.48 kB / 0.7817 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of SimCode: time 5.21e-07/0.5233, allocations: 1 kB / 0.7817 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.5455, allocations: 6.149 MB / 0.7877 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.379/7.924, allocations: 7.641 kB / 0.7877 GB, free: 9.262 MB / 0.5606 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1)