Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",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.007507/0.007507, allocations: 103.4 kB / 15.73 MB, free: 6.035 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.001577/0.001577, allocations: 189.8 kB / 16.67 MB, free: 5.965 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002082/0.002082, allocations: 282.5 kB / 290.8 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9548/0.9548, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002757/0.002757, allocations: 96.17 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.177, allocations: 86.97 MB / 0.7659 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003343/0.1803, allocations: 2.003 MB / 0.7679 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002444/0.1828, allocations: 1.659 MB / 0.7695 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.1829, allocations: 4 kB / 0.7695 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.775e-05/0.183, allocations: 19.78 kB / 0.7695 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001318/0.1832, allocations: 51.55 kB / 0.7695 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.1842, allocations: 350.8 kB / 0.7699 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002487/0.1845, allocations: 223.1 kB / 0.7701 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.1847, allocations: 57.69 kB / 0.7701 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.1848, allocations: 87.75 kB / 0.7702 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.185, allocations: 79.69 kB / 0.7703 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.384e-05/0.185, allocations: 20 kB / 0.7703 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007764/0.1858, allocations: 415.5 kB / 0.7707 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.321e-05/0.1858, allocations: 39.91 kB / 0.7708 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.321e-05/0.1859, allocations: 87.66 kB / 0.7708 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006329/0.1866, allocations: 427 kB / 0.7713 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1866, allocations: 3.984 kB / 0.7713 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1866, allocations: 0 / 0.7713 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.1866, allocations: 0 / 0.7713 GB, free: 3.387 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.0008349/0.1874, allocations: 0.5108 MB / 0.7718 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.1875, allocations: 12.03 kB / 0.7718 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.691e-05/0.1876, allocations: 54.73 kB / 0.7718 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005503/0.1881, allocations: 88.64 kB / 0.7719 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.1883, allocations: 192 kB / 0.7721 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.461e-05/0.1883, allocations: 50.27 kB / 0.7721 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.1884, allocations: 12.38 kB / 0.7721 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003915/0.1888, allocations: 187 kB / 0.7723 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.1888, allocations: 4 kB / 0.7723 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.1888, allocations: 4 kB / 0.7723 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.1888, allocations: 4 kB / 0.7723 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004263/0.1893, allocations: 188.3 kB / 0.7725 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.1906, allocations: 0.9032 MB / 0.7734 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000445/0.1911, allocations: 174.5 kB / 0.7736 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/0.1913, allocations: 76.81 kB / 0.7736 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006261/0.1919, allocations: 0.5259 MB / 0.7741 GB, free: 64 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.192, allocations: 34.56 kB / 0.7742 GB, free: 20 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.192, allocations: 0 / 0.7742 GB, free: 20 kB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.2909/0.4829, allocations: 231.8 kB / 0.7744 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.4829, allocations: 53.28 kB / 0.7745 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.4831, allocations: 158.9 kB / 0.7746 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.4831, allocations: 31.55 kB / 0.7746 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.041e-05/0.4832, allocations: 117.7 kB / 0.7747 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.94e-05/0.4832, allocations: 47.3 kB / 0.7748 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.883e-05/0.4833, allocations: 40.91 kB / 0.7748 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.094e-05/0.4834, allocations: 322.3 kB / 0.7751 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/0.4836, allocations: 76.84 kB / 0.7752 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.4838, allocations: 91.62 kB / 0.7753 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003565/0.4842, allocations: 154.7 kB / 0.7754 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4842, allocations: 1.344 kB / 0.7754 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004796/0.4847, allocations: 218.7 kB / 0.7757 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.4847, allocations: 10.88 kB / 0.7757 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.4847, allocations: 1.25 kB / 0.7757 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.4847, allocations: 2.75 kB / 0.7757 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000263/0.485, allocations: 40.56 kB / 0.7757 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.485, allocations: 2.219 kB / 0.7757 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.4852, allocations: 25.45 kB / 0.7757 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.4852, allocations: 6.531 kB / 0.7757 GB, free: 14.27 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 8.47e-05/0.4853, allocations: 126 kB / 0.7759 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.607e-05/0.4854, allocations: 18.94 kB / 0.7759 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000489/0.4859, allocations: 197.9 kB / 0.7761 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.4859, allocations: 3.453 kB / 0.7761 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4859, allocations: 1.031 kB / 0.7761 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.4859, allocations: 0.5625 kB / 0.7761 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/0.4872, allocations: 0.9836 MB / 0.777 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.4873, allocations: 2.531 kB / 0.777 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001949/0.4875, allocations: 31.92 kB / 0.7771 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.4875, allocations: 1.812 kB / 0.7771 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.832e-05/0.4875, allocations: 6.531 kB / 0.7771 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.4875, allocations: 1.938 kB / 0.7771 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.4875, allocations: 4.688 kB / 0.7771 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004352/0.488, allocations: 290.5 kB / 0.7774 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.537e-05/0.488, allocations: 88.03 kB / 0.7774 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.468e-05/0.488, allocations: 5.188 kB / 0.7774 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.4882, allocations: 15.86 kB / 0.7775 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.407e-05/0.4883, allocations: 13.53 kB / 0.7775 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.4883, allocations: 8.766 kB / 0.7775 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.557e-05/0.4884, allocations: 120 kB / 0.7776 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4884, allocations: 3.469 kB / 0.7776 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004746/0.4889, allocations: 134.1 kB / 0.7777 GB, free: 12.98 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.0009356/0.4898, allocations: 0.9467 MB / 0.7787 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004842/0.4903, allocations: 176.3 kB / 0.7788 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4903, allocations: 5.922 kB / 0.7788 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.4905, allocations: 82.06 kB / 0.7789 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004152/0.491, allocations: 45.73 kB / 0.779 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002515/0.4935, allocations: 2.05 MB / 0.781 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001728/0.4937, allocations: 0.7072 MB / 0.7816 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001531/0.4938, allocations: 28.89 kB / 0.7817 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.4939, allocations: 49.89 kB / 0.7817 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of SimCode: time 1.242e-06/0.4939, allocations: 0.8438 kB / 0.7817 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02364/0.5176, allocations: 6.124 MB / 0.7877 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.495/8.013, allocations: 10.34 kB / 0.7877 GB, free: 9.27 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)